about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-11-12 22:27:18 +0000
committerMichael Goulet <michael@errs.io>2022-11-18 18:23:48 +0000
commitda3c5397a614f790f0daaf61bfdc692b36719e01 (patch)
treec9d5a60b09264d18e19cf9af81f763d44ac431f7 /compiler/rustc_span
parentfd3bfb35511cbcff59ce1454d3db627b576d7e92 (diff)
downloadrust-da3c5397a614f790f0daaf61bfdc692b36719e01.tar.gz
rust-da3c5397a614f790f0daaf61bfdc692b36719e01.zip
Enforce that dyn* casts are actually pointer-sized
Diffstat (limited to 'compiler/rustc_span')
-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 02848bcffb2..199b2d32b9d 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1067,6 +1067,7 @@ symbols! {
         plugins,
         pointee_trait,
         pointer,
+        pointer_sized,
         poll,
         position,
         post_dash_lto: "post-lto",