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 c693f31ee2
commit f6661f5b9b

View file

@ -449,13 +449,13 @@ pub fn eq_foreign_item_kind(l: &ForeignItemKind, r: &ForeignItemKind) -> bool {
use ForeignItemKind::*; use ForeignItemKind::*;
match (l, r) { match (l, r) {
( (
Static(box StaticForeignItem { Static(box StaticItem {
ty: lt, ty: lt,
mutability: lm, mutability: lm,
expr: le, expr: le,
safety: ls, safety: ls,
}), }),
Static(box StaticForeignItem { Static(box StaticItem {
ty: rt, ty: rt,
mutability: rm, mutability: rm,
expr: re, expr: re,