Skip to content

Commit f8b5e00

Browse files
committed
Lower the tracing level of some very verbose messages
1 parent 3266c36 commit f8b5e00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/rustc_metadata/src/rmeta/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ where
439439
/// Given the metadata, extract out the value at a particular index (if any).
440440
#[inline(never)]
441441
pub(super) fn get<'a, 'tcx, M: Metadata<'a, 'tcx>>(&self, metadata: M, i: I) -> T::Value<'tcx> {
442-
debug!("LazyTable::lookup: index={:?} len={:?}", i, self.encoded_size);
442+
trace!("LazyTable::lookup: index={:?} len={:?}", i, self.encoded_size);
443443

444444
let start = self.position.get();
445445
let bytes = &metadata.blob()[start..start + self.encoded_size];

compiler/rustc_span/src/hygiene.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ pub fn decode_expn_id(
12881288
decode_data: impl FnOnce(ExpnId) -> (ExpnData, ExpnHash),
12891289
) -> ExpnId {
12901290
if index == 0 {
1291-
debug!("decode_expn_id: deserialized root");
1291+
trace!("decode_expn_id: deserialized root");
12921292
return ExpnId::root();
12931293
}
12941294

@@ -1321,7 +1321,7 @@ pub fn decode_syntax_context<D: Decoder, F: FnOnce(&mut D, u32) -> SyntaxContext
13211321
) -> SyntaxContext {
13221322
let raw_id: u32 = Decodable::decode(d);
13231323
if raw_id == 0 {
1324-
debug!("decode_syntax_context: deserialized root");
1324+
trace!("decode_syntax_context: deserialized root");
13251325
// The root is special
13261326
return SyntaxContext::root();
13271327
}

0 commit comments

Comments
 (0)