1
Fork 0

Remove some noisy tracing

This commit is contained in:
Oli Scherer 2024-12-04 09:54:12 +00:00
parent 2633e01929
commit ec3424a905

View file

@ -1,6 +1,5 @@
use rustc_hir::def::CtorOf;
use rustc_index::Idx;
use tracing::trace;
use crate::rmeta::*;
@ -530,8 +529,6 @@ where
{
/// Given the metadata, extract out the value at a particular index (if any).
pub(super) fn get<'a, 'tcx, M: Metadata<'a, 'tcx>>(&self, metadata: M, i: I) -> T::Value<'tcx> {
trace!("LazyTable::lookup: index={:?} len={:?}", i, self.len);
// Access past the end of the table returns a Default
if i.index() >= self.len {
return Default::default();