about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-29 02:25:43 +0000
committerbors <bors@rust-lang.org>2024-03-29 02:25:43 +0000
commit760e567af5398a0d8c512f904e551e1f38e00d79 (patch)
treee61de07fb7db35aa056ff495ab561175a2058883 /compiler/rustc_span/src
parentdb2f9759f43167755d4eebb0a1358df9766a505e (diff)
parent47ed73a7b510b416a191f343c2f07826e8072396 (diff)
downloadrust-760e567af5398a0d8c512f904e551e1f38e00d79.tar.gz
rust-760e567af5398a0d8c512f904e551e1f38e00d79.zip
Auto merge of #122975 - DianQK:simplify_ub_check, r=saethlin
Eliminate `UbChecks` for non-standard libraries

 The purpose of this PR is to allow other passes to treat `UbChecks` as constants in MIR for optimization after #122629.

r? RalfJung
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 121dae56028..1da0b80a610 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1590,6 +1590,7 @@ symbols! {
         rustc_peek_maybe_init,
         rustc_peek_maybe_uninit,
         rustc_polymorphize_error,
+        rustc_preserve_ub_checks,
         rustc_private,
         rustc_proc_macro_decls,
         rustc_promotable,