Skip to content

Commit 199fa5e

Browse files
committed
WIP -- pacify tidy in error_reporting.rs
1 parent 682b4fe commit 199fa5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/middle/traits/error_reporting.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ pub fn try_report_overflow_error_type_of_infinite_size<'a, 'tcx>(
286286
struct_enum_tys.iter()
287287
.enumerate()
288288
.filter_map(|(index, ty)| match ty.sty {
289-
ty::TyEnum(adt_def, _) | ty::TyStruct(adt_def, _) if adt_def.did.is_local() =>
289+
ty::TyEnum(adt_def, _) | ty::TyStruct(adt_def, _)
290+
if adt_def.did.is_local() =>
290291
Some((index, adt_def.did)),
291292
_ =>
292293
None,

0 commit comments

Comments
 (0)