diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-11 23:45:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-11 23:45:53 +0200 |
| commit | f94a325496a475ec866f41a8036d4a418832522c (patch) | |
| tree | 1cb8588faab2e5f11d7e29c0f9efc32acc4a0ac2 /compiler/rustc_codegen_llvm/src | |
| parent | 603da7e83fec2767a7bcebb2f5c1aaaa244087a3 (diff) | |
| parent | 148f456cc6fd12a19f45a75b1fd758605c657d0d (diff) | |
| download | rust-f94a325496a475ec866f41a8036d4a418832522c.tar.gz rust-f94a325496a475ec866f41a8036d4a418832522c.zip | |
Rollup merge of #89785 - nbdd0121:master, r=Mark-Simulacrum
Fix ICE when compiling nightly std/rustc on beta compiler Fix #89775 #89479 renames a lot of diagnostic items, but it happens that the beta compiler assumes that there must be DefId with `rustc_diagnostic_item = "send_trait"`, causing an ICE when compiling stage 0 std or stage 1 compiler. So gate it with `cfg(bootstrap)`. The unwrap is also removed, so that existence of the diagnostic item is not required. I ripgreped the code base and this seems the only place where `unwrap` is called on the return value of `get_diagnostic_item`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
