feat(natu): support inline suppressions

This commit was merged in pull request #105.
This commit is contained in:
2026-09-26 23:30:01 -04:00
parent ac5cc8d659
commit dd82367dcb
5 changed files with 49 additions and 21 deletions

View File

@@ -64,6 +64,7 @@ impl ScopeGraph {
declaration: self.add_declaration(&binding.key.name, scope),
name: binding.key.name.clone(),
references: Vec::new(),
range: binding.range,
})
.collect::<Vec<_>>();
@@ -196,4 +197,5 @@ pub(crate) struct Binding {
pub(crate) declaration: NodeId,
pub(crate) name: String,
pub(crate) references: Vec<NodeId>,
pub(crate) range: ast::SourceRange,
}