about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-07 18:19:06 +0200
committerGitHub <noreply@github.com>2025-05-07 18:19:06 +0200
commit7d372aec2f407e61d30f49875dee997cf2e70338 (patch)
tree34bbc7a0da0a108f3b273cbd2188675e3a9e2b77 /compiler/rustc_codegen_llvm/src
parent32325e1decbced3fb590c0a698886dfea658af87 (diff)
parent3c1c0726ad18dc07f3ef9b9465d5997ca13e332c (diff)
downloadrust-7d372aec2f407e61d30f49875dee997cf2e70338.tar.gz
rust-7d372aec2f407e61d30f49875dee997cf2e70338.zip
Rollup merge of #140700 - Kivooeo:new-fix-six, r=davidtwco,fmease
Don't crash on error codes passed to `--explain` which exceed our internal limit of 9999

removed panic in case where we do `--explain > 9999` and added check for it

now error looks like this instead of ICE
```
$ rustc.exe --explain E10000
error: E10000 is not a valid error code
```
fixes #140647
r? `@fmease`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions