Skip to content

Commit e8e8c1c

Browse files
committed
Fixup interp error conversion
1 parent 6f055c8 commit e8e8c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ impl From<ErrorHandled> for InterpErrorInfo<'tcx> {
220220
match err {
221221
ErrorHandled::Reported => err_inval!(ReferencedConstant),
222222
ErrorHandled::TooGeneric => err_inval!(TooGeneric),
223-
}
223+
}.into()
224224
}
225225
}
226226

0 commit comments

Comments
 (0)