about summary refs log tree commit diff
path: root/compiler/rustc_span/src/symbol.rs
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-08-24 12:04:40 +0200
committerUrgau <urgau@numericable.fr>2023-08-24 15:00:21 +0200
commit89800a27fcbcd15641e06fb870b51c320a78668f (patch)
treead1701d984abee970b8d2b03bee9bedbbb586dd7 /compiler/rustc_span/src/symbol.rs
parent9bd60a60cefdddca1f507083dda37e1664b295c5 (diff)
downloadrust-89800a27fcbcd15641e06fb870b51c320a78668f.tar.gz
rust-89800a27fcbcd15641e06fb870b51c320a78668f.zip
Lint on invalid UnsafeCell::raw_get with invalid_reference_casting lint
Diffstat (limited to 'compiler/rustc_span/src/symbol.rs')
-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 8aec12f128e..53ade8da6d0 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1630,6 +1630,7 @@ symbols! {
         unsafe_block_in_unsafe_fn,
         unsafe_cell,
         unsafe_cell_from_mut,
+        unsafe_cell_raw_get,
         unsafe_no_drop_flag,
         unsafe_pin_internals,
         unsize,