mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
6047e9300c
Encode proper module spans in crate metadata. The spans previously encoded only span the first token after the opening brace, up to the closing brace of inline `mod` declarations. Thus, when examining exports from an external crate, the spans don't include the header of inline `mod` declarations. r? @eddyb