Skip to content

Commit

Permalink
fix: Remove eprintln! cause it messes up tests/ui
Browse files Browse the repository at this point in the history
  • Loading branch information
futile committed Aug 6, 2024
1 parent 53c4644 commit f2cf758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_ast/src/tokenstream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl fmt::Debug for LazyAttrTokenStream {

impl<S: SpanEncoder> Encodable<S> for LazyAttrTokenStream {
fn encode(&self, _s: &mut S) {
eprintln!("ENCODING {self:?}");
tracing::debug!("ENCODING {self:?}");
self.to_attr_token_stream().encode(_s);
// panic!("Attempted to encode {self:?}");
}
Expand All @@ -149,7 +149,7 @@ impl<D: SpanDecoder> Decodable<D> for LazyAttrTokenStream {
fn decode(_d: &mut D) -> Self {
let ats = AttrTokenStream::decode(_d);
let res = LazyAttrTokenStream::new(ats);
eprintln!("DECODED {res:?}");
tracing::debug!("DECODED {res:?}");
res
// panic!("Attempted to decode LazyAttrTokenStream");
}
Expand Down

0 comments on commit f2cf758

Please sign in to comment.