about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-08-14 11:47:42 +0200
committerUrgau <urgau@numericable.fr>2023-08-15 10:14:41 +0200
commit6933848fbff3da5bfcd78ab836cda15e3f649ffc (patch)
tree762ecc70c88353dfdb26819a0d4150ffc1631b8d /compiler/rustc_span/src
parent570601f0aad3e0f07f14684d5cbedd1c1c96b1c9 (diff)
downloadrust-6933848fbff3da5bfcd78ab836cda15e3f649ffc.tar.gz
rust-6933848fbff3da5bfcd78ab836cda15e3f649ffc.zip
Add diagnostic items for `<*const _>::cast` and `<*mut _>::cast_const`
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 745a3590720..f66b1e8970b 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -543,6 +543,7 @@ symbols! {
         const_panic_fmt,
         const_param_ty,
         const_precise_live_drops,
+        const_ptr_cast,
         const_raw_ptr_deref,
         const_raw_ptr_to_usize_cast,
         const_refs_to_cell,
@@ -1159,6 +1160,7 @@ symbols! {
         profiler_runtime,
         ptr,
         ptr_cast,
+        ptr_cast_const,
         ptr_cast_mut,
         ptr_const_is_null,
         ptr_from_mut,