summaryrefslogtreecommitdiff
path: root/src/resolver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolver.rs')
-rw-r--r--src/resolver.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resolver.rs b/src/resolver.rs
index 77ab348..b50f910 100644
--- a/src/resolver.rs
+++ b/src/resolver.rs
@@ -136,6 +136,11 @@ impl Resolver {
SourceSymbols { resolver: self }
}
+ /// Return a type that can print all unused symbol definitions.
+ pub fn unused(&self) -> UnusedSymbols {
+ UnusedSymbols { resolver: self }
+ }
+
/// Return a type that can print the structure of the source tree.
pub fn hierarchy(&self) -> SourceHierarchy {
SourceHierarchy { resolver: self }