| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
|
|
`rustc_span` cleanups
Just some things I found while looking over this crate.
r? `@oli-obk`
|
|
|
|
Most notably, this commit changes the `pub use crate::*;` in that file
to `use crate::*;`. This requires a lot of `use` items in other crates
to be adjusted, because everything defined within `rustc_span::*` was
also available via `rustc_span::source_map::*`, which is bizarre.
The commit also removes `SourceMap::span_to_relative_line_string`, which
is unused.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specifically caused by https://github.com/rust-lang/rust/pull/67786
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #3917.
|
|
|
|
|
|
|
|
|
|
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
|
|
This is somewhat misleading, as those are actually external crates,
and don't need a crate:: prefix.
|