Add a useful comment.

For something that wasn't obvious to me.
This commit is contained in:
Nicholas Nethercote 2024-05-21 15:12:50 +10:00
parent 2c61c00859
commit 220f3ab825

View File

@ -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]