Skip to content

Commit 632e5df

Browse files
committed
Remove unreachable fatal error
1 parent 4067700 commit 632e5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ fn codegen_stmt<'tcx>(
907907
| StatementKind::PlaceMention(..)
908908
| StatementKind::AscribeUserType(..) => {}
909909

910-
StatementKind::Coverage { .. } => fx.tcx.dcx().fatal("-Zcoverage is unimplemented"),
910+
StatementKind::Coverage { .. } => unreachable!(),
911911
StatementKind::Intrinsic(ref intrinsic) => match &**intrinsic {
912912
// We ignore `assume` intrinsics, they are only useful for optimizations
913913
NonDivergingIntrinsic::Assume(_) => {}

0 commit comments

Comments
 (0)