about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-06-20 19:50:57 -0400
committerMichael Goulet <michael@errs.io>2024-06-20 19:51:09 -0400
commit3e59f0c3c5b4e23057dcfbe9da784164e2410a78 (patch)
tree00b6aa373ee9971999544c96047f036ce135b7e7 /compiler/rustc_parse/src
parentcb8a7ea0ed866295e0f65725cea6662bea51971a (diff)
downloadrust-3e59f0c3c5b4e23057dcfbe9da784164e2410a78.tar.gz
rust-3e59f0c3c5b4e23057dcfbe9da784164e2410a78.zip
StaticForeignItem and StaticItem are the same
Diffstat (limited to 'compiler/rustc_parse/src')
-rw-r--r--compiler/rustc_parse/src/parser/item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs
index 3e1ea7b129d..abb6b51cebd 100644
--- a/compiler/rustc_parse/src/parser/item.rs
+++ b/compiler/rustc_parse/src/parser/item.rs
@@ -1228,7 +1228,7 @@ impl<'a> Parser<'a> {
                                 ident_span: ident.span,
                                 const_span,
                             });
-                            ForeignItemKind::Static(Box::new(StaticForeignItem {
+                            ForeignItemKind::Static(Box::new(StaticItem {
                                 ty,
                                 mutability: Mutability::Not,
                                 expr,