1
Fork 0

re-format with new rustfmt

This commit is contained in:
Mark Rousskov 2021-11-30 13:08:41 -05:00
parent b221c877e8
commit 971c549ca3
15 changed files with 111 additions and 81 deletions

View file

@ -2026,9 +2026,7 @@ impl<'a, 'tcx> InferCtxtPrivExt<'tcx> for InferCtxt<'a, 'tcx> {
debug!("maybe_suggest_unsized_generics: param={:?}", param);
match node {
hir::Node::Item(
item
@
hir::Item {
item @ hir::Item {
// Only suggest indirection for uses of type parameters in ADTs.
kind:
hir::ItemKind::Enum(..) | hir::ItemKind::Struct(..) | hir::ItemKind::Union(..),