about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-24 12:52:35 +0000
committerbors <bors@rust-lang.org>2023-08-24 12:52:35 +0000
commit18be2728bd0d59c8fc74311de365a52a2d5e3eee (patch)
tree5db356f964085a5d2901047315404a8b17a4fa44 /compiler/rustc_span
parent8a6b67f988965f7e0ea5d4db6a56b3c195f723f4 (diff)
parent868706d9b50ddf27995a9ee4d863e163b78b7365 (diff)
downloadrust-18be2728bd0d59c8fc74311de365a52a2d5e3eee.tar.gz
rust-18be2728bd0d59c8fc74311de365a52a2d5e3eee.zip
Auto merge of #115131 - frank-king:feature/unnamed-fields-lite, r=petrochenkov
Parse unnamed fields and anonymous structs or unions (no-recovery)

It is part of #114782 which implements #49804. Only parse anonymous structs or unions in struct field definition positions.

r? `@petrochenkov`
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 8aec12f128e..c0eff6dfd8f 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1618,6 +1618,7 @@ symbols! {
         unix_sigpipe,
         unlikely,
         unmarked_api,
+        unnamed_fields,
         unpin,
         unreachable,
         unreachable_2015,