Skip to content

Commit 643a708

Browse files
committed
Unconditionally enable never-type fallback for Crater
1 parent f1961b5 commit 643a708

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/ty/context.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,8 @@ impl<'tcx> TyCtxt<'tcx> {
22862286

22872287
#[inline]
22882288
pub fn mk_diverging_default(self) -> Ty<'tcx> {
2289-
if self.features().never_type_fallback { self.types.never } else { self.types.unit }
2289+
self.types.never
2290+
//if self.features().never_type_fallback { self.types.never } else { self.types.unit }
22902291
}
22912292

22922293
#[inline]

0 commit comments

Comments
 (0)