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::*;
match (l, r) {
(
Static(box StaticForeignItem {
Static(box StaticItem {
ty: lt,
mutability: lm,
expr: le,
safety: ls,
}),
Static(box StaticForeignItem {
Static(box StaticItem {
ty: rt,
mutability: rm,
expr: re,