Rollup merge of #119600 - aDotInTheVoid:comment-fix, r=compiler-errors
Remove outdated references to librustc_middle
The relevant comment is now in 791a53f380/compiler/rustc_middle/src/tests.rs (L3-L13)
This commit is contained in:
commit
ca36ed27be
7 changed files with 9 additions and 10 deletions
|
@ -49,9 +49,7 @@ impl MachineStopType for ConstEvalErrKind {
|
|||
}
|
||||
}
|
||||
|
||||
// The errors become `MachineStop` with plain strings when being raised.
|
||||
// `ConstEvalErr` (in `librustc_middle/mir/interpret/error.rs`) knows to
|
||||
// handle these.
|
||||
/// The errors become [`InterpError::MachineStop`] when being raised.
|
||||
impl<'tcx> Into<InterpErrorInfo<'tcx>> for ConstEvalErrKind {
|
||||
fn into(self) -> InterpErrorInfo<'tcx> {
|
||||
err_machine_stop!(self).into()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue