1
Fork 0

StaticForeignItem and StaticItem are the same

This commit is contained in:
Michael Goulet 2024-06-20 19:50:57 -04:00
parent cb8a7ea0ed
commit 3e59f0c3c5
9 changed files with 10 additions and 67 deletions

View file

@ -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,