about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-08 06:44:42 +0100
committerGitHub <noreply@github.com>2023-12-08 06:44:42 +0100
commit646d627661b8edffcb79f6be357753bf863664d5 (patch)
treebc1ff2f1cb3471662345127f175d1da0ac8975ce /compiler/rustc_hir_analysis/src/errors.rs
parent0c121b568e1de008df39bde3e3b73da87dddac1d (diff)
parentaa58ccb53e289aa465a070cc27d2d773d274d1d1 (diff)
downloadrust-646d627661b8edffcb79f6be357753bf863664d5.tar.gz
rust-646d627661b8edffcb79f6be357753bf863664d5.zip
Rollup merge of #118693 - saethlin:alignment-check-symbol-reachable, r=bjorn3
Tell MirUsedCollector that the pointer alignment checks calls its panic symbol

Fixes https://github.com/rust-lang/rust/pull/118683 (not an issue, but that PR is a basically a bug report)

When we had `panic_immediate_abort` start adding `#[inline]` to this panic function, builds started breaking because we failed to write up the MIR assert terminator to the correct panic shim. Things happened to work before by pure luck because without this feature enabled, the function we're inserting calls to is `#[inline(never)]` so we always generated code for it.

r? bjorn3
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions