Skip to content

Commit f2cf758

Browse files
committed
fix: Remove eprintln! cause it messes up tests/ui
1 parent 53c4644 commit f2cf758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_ast/src/tokenstream.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl fmt::Debug for LazyAttrTokenStream {
139139

140140
impl<S: SpanEncoder> Encodable<S> for LazyAttrTokenStream {
141141
fn encode(&self, _s: &mut S) {
142-
eprintln!("ENCODING {self:?}");
142+
tracing::debug!("ENCODING {self:?}");
143143
self.to_attr_token_stream().encode(_s);
144144
// panic!("Attempted to encode {self:?}");
145145
}
@@ -149,7 +149,7 @@ impl<D: SpanDecoder> Decodable<D> for LazyAttrTokenStream {
149149
fn decode(_d: &mut D) -> Self {
150150
let ats = AttrTokenStream::decode(_d);
151151
let res = LazyAttrTokenStream::new(ats);
152-
eprintln!("DECODED {res:?}");
152+
tracing::debug!("DECODED {res:?}");
153153
res
154154
// panic!("Attempted to decode LazyAttrTokenStream");
155155
}

0 commit comments

Comments
 (0)