Address 'unused variable' warnings when 'span' feature is off. (#1433)

This commit is contained in:
Jim Blandy authored and GitHub committed 2021-09-27 19:17:20 -04:00
1 parent 004a12e21d
commit 3e992d8bbf
1 file changed
+3
+3
View File
@@ -489,6 +489,9 @@ impl<T: Eq + hash::Hash> UniqueArena<T> {
debug_assert!(self.set.len() == self.span_info.len());
}
#[cfg(not(feature = "span"))]
let _ = (span, added);
Handle::from_usize(index)
}