We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f459b0f commit ecba49cCopy full SHA for ecba49c
compiler/rustc_mir/src/util/pretty.rs
@@ -413,9 +413,7 @@ fn use_verbose(ty: &&TyS<'tcx>) -> bool {
413
ty::Int(_) | ty::Uint(_) | ty::Bool | ty::Char | ty::Float(_) => false,
414
// Unit type
415
ty::Tuple(g_args) if g_args.is_empty() => false,
416
- ty::Tuple(g_args) => g_args.iter().any(|g_arg| {
417
- use_verbose(&g_arg.expect_ty())
418
- }),
+ ty::Tuple(g_args) => g_args.iter().any(|g_arg| use_verbose(&g_arg.expect_ty())),
419
ty::Array(ty, _) => use_verbose(ty),
420
ty::FnDef(..) => false,
421
_ => true,
0 commit comments