We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 936e9b8 commit 326922cCopy full SHA for 326922c
1 file changed
src/tools/clippy/clippy_utils/src/ast_utils/mod.rs
@@ -845,8 +845,8 @@ fn eq_restriction_kind(l: &RestrictionKind, r: &RestrictionKind) -> bool {
845
match (l, r) {
846
(RestrictionKind::Unrestricted, RestrictionKind::Unrestricted) => true,
847
(
848
- RestrictionKind::Restricted { path: l_path, shorthand: l_short, .. },
849
- RestrictionKind::Restricted { path: r_path, shorthand: r_short, .. },
+ RestrictionKind::Restricted { path: l_path, shorthand: l_short, tokens: _ },
+ RestrictionKind::Restricted { path: r_path, shorthand: r_short, tokens: _ },
850
) => {
851
l_short == r_short && eq_path(l_path, r_path)
852
}
0 commit comments