Skip to content

Commit 220f3ab

Browse files
committed
Add a useful comment.
For something that wasn't obvious to me.
1 parent 2c61c00 commit 220f3ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_span/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
#![feature(rustdoc_internals)]
3434
// tidy-alphabetical-end
3535

36+
// The code produced by the `Encodable`/`Decodable` derive macros refer to
37+
// `rustc_span::Span{Encoder,Decoder}`. That's fine outside this crate, but doesn't work inside
38+
// this crate without this line making `rustc_span` available.
3639
extern crate self as rustc_span;
3740

3841
#[macro_use]

0 commit comments

Comments
 (0)