remove unnecessary .. patterns

This commit is contained in:
Takayuki Maeda 2022-03-07 02:18:36 +09:00
parent d53e19540e
commit 51a53bf4df
6 changed files with 7 additions and 11 deletions

View file

@ -405,7 +405,7 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
}
hir::Node::Item(hir::Item {
kind:
hir::ItemKind::Trait(_, _, generics, _, _)
hir::ItemKind::Trait(_, _, generics, ..)
| hir::ItemKind::Impl(hir::Impl { generics, .. }),
..
}) if projection.is_some() => {