Skip to content

Commit

Permalink
Unconditionally enable never-type fallback for Crater
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Jan 18, 2020
1 parent f1961b5 commit 643a708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc/ty/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,8 @@ impl<'tcx> TyCtxt<'tcx> {

#[inline]
pub fn mk_diverging_default(self) -> Ty<'tcx> {
if self.features().never_type_fallback { self.types.never } else { self.types.unit }
self.types.never
//if self.features().never_type_fallback { self.types.never } else { self.types.unit }
}

#[inline]
Expand Down

0 comments on commit 643a708

Please sign in to comment.