mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +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)]
|
#![feature(rustdoc_internals)]
|
||||||
// tidy-alphabetical-end
|
// 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;
|
extern crate self as rustc_span;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
Loading…
Reference in New Issue
Block a user