mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Add a useful comment.
For something that wasn't obvious to me.
This commit is contained in:
parent
2c61c00859
commit
220f3ab825
@ -33,6 +33,9 @@
|
||||
#![feature(rustdoc_internals)]
|
||||
// tidy-alphabetical-end
|
||||
|
||||
// The code produced by the `Encodable`/`Decodable` derive macros refer to
|
||||
// `rustc_span::Span{Encoder,Decoder}`. That's fine outside this crate, but doesn't work inside
|
||||
// this crate without this line making `rustc_span` available.
|
||||
extern crate self as rustc_span;
|
||||
|
||||
#[macro_use]
|
||||
|
Loading…
Reference in New Issue
Block a user