summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-08-25 08:50:56 +0900
committerGitHub <noreply@github.com>2022-08-25 08:50:56 +0900
commited8cfc86a2a6541f8f998ab45e889fd3f2371cbe (patch)
treec4f06237465b59fa226b8163134cd4a80f032e9b /compiler/rustc_span/src
parentb3f178350a44095e71306789da441ed785fae28c (diff)
parent351acc87f57d05847e95b1863a9c5c7e953e162c (diff)
downloadrust-ed8cfc86a2a6541f8f998ab45e889fd3f2371cbe.tar.gz
rust-ed8cfc86a2a6541f8f998ab45e889fd3f2371cbe.zip
Rollup merge of #100188 - chenyukang:fix-issue-100165, r=estebank
Parser will not suggest invalid expression when use public

Fixes #100165
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 e4bbbbf83cb..5085e3aedfd 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1119,6 +1119,7 @@ symbols! {
         ptr_offset_from_unsigned,
         pub_macro_rules,
         pub_restricted,
+        public,
         pure,
         pushpop_unsafe,
         qreg,