mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
615669dbb2
Make `impl Debug for Span` not panic on not having session globals. I hit the panic that this patch avoids while messing with the early lints in `rustc_session::config::build_session_options()`. The rest of that project is not finished, but this seemed like a self-contained improvement. (Should changes like this add tests? I don't see similar unit tests.) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |