diff options
author | Yuki Okushi <jtitor@2k36.org> | 2023-04-20 17:03:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 17:03:25 +0900 |
commit | 615669dbb2c508da3738845fff1ad527f4ef8a4a (patch) | |
tree | 49f7f76d9ea6871331e47ae7d5ff267d525a397a /tests/rustdoc-js-std/parser-errors.js | |
parent | f71e78e0df2a3bbac30f4a1873afc8d5c180def7 (diff) | |
parent | 883606f2c06821e0a2c0e7a8c6219a1225d9bea4 (diff) | |
download | rust-615669dbb2c508da3738845fff1ad527f4ef8a4a.tar.gz |
Rollup merge of #110548 - kpreid:span, r=WaffleLapkin
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.)
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions