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

This commit is contained in:
Jim Blandy
2021-09-27 16:17:20 -07:00
committed by GitHub
parent 004a12e21d
commit 3e992d8bbf

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)
}