about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-08-22 15:41:07 +0200
committerUrgau <urgau@numericable.fr>2023-08-22 15:47:29 +0200
commit7ee77b5d1b91adf4c683d0d871015fe68ebca9ea (patch)
tree2ecc51a3018c338eece2a707e6a79b6b199176e3 /compiler/rustc_span/src
parentb4d09f3b811cf9bb73288c054557f2c2436bb37d (diff)
downloadrust-7ee77b5d1b91adf4c683d0d871015fe68ebca9ea.tar.gz
rust-7ee77b5d1b91adf4c683d0d871015fe68ebca9ea.zip
Add support for ptr::write for the invalid_reference_casting lint
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 28a2dfebcfe..8aec12f128e 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1179,6 +1179,9 @@ symbols! {
         ptr_offset_from,
         ptr_offset_from_unsigned,
         ptr_unique,
+        ptr_write,
+        ptr_write_unaligned,
+        ptr_write_volatile,
         pub_macro_rules,
         pub_restricted,
         public,