Skip to content

Commit c17319c

Browse files
committed
Fix TyTuple after never type stabilisation
1 parent 1a799c0 commit c17319c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/sty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ impl<'a, 'gcx, 'tcx> TyS<'tcx> {
12871287
match self.sty {
12881288
ty::TyNever => true,
12891289
ty::TyAdt(def, _) => def.variants.is_empty(),
1290-
ty::TyTuple(tys, _) => tys.iter().any(|ty| ty.conservative_is_uninhabited()),
1290+
ty::TyTuple(tys) => tys.iter().any(|ty| ty.conservative_is_uninhabited()),
12911291
_ => false
12921292
}
12931293
}

0 commit comments

Comments
 (0)