about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-11 23:45:53 +0200
committerGitHub <noreply@github.com>2021-10-11 23:45:53 +0200
commitf94a325496a475ec866f41a8036d4a418832522c (patch)
tree1cb8588faab2e5f11d7e29c0f9efc32acc4a0ac2 /compiler/rustc_codegen_llvm/src
parent603da7e83fec2767a7bcebb2f5c1aaaa244087a3 (diff)
parent148f456cc6fd12a19f45a75b1fd758605c657d0d (diff)
downloadrust-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