diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-13 16:03:54 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-14 15:53:55 +1100 |
| commit | e3b7ecc1efc7170fe418e99e071598e7e14aebe1 (patch) | |
| tree | 2ae8c094c0632fc37b6ccf03f8217daa189e9d41 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 7bdb227567398bed342697ea1f76f2cb34c9a7c2 (diff) | |
| download | rust-e3b7ecc1efc7170fe418e99e071598e7e14aebe1.tar.gz rust-e3b7ecc1efc7170fe418e99e071598e7e14aebe1.zip | |
Remove one use of `span_bug_no_panic`.
It's unclear why this is used here. All entries in the third column of `UNICODE_ARRAY` are covered by `ASCII_ARRAY`, so if the lookup fails it's a genuine compiler bug. It was added way back in #29837, for no clear reason. This commit changes it to `span_bug`, which is more typical.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
