diff options
| author | Alona Enraght-Moony <code@alona.page> | 2024-01-05 02:52:37 +0000 |
|---|---|---|
| committer | Alona Enraght-Moony <code@alona.page> | 2024-01-05 16:34:52 +0000 |
| commit | 16e117cf964064f8f70ab2e55f24ed37e1e9a4ee (patch) | |
| tree | c4ddc656548390e683268be013ab52631d31a29c /compiler/rustc_const_eval/src/const_eval | |
| parent | f688dd684faca5b31b156fac2c6e0ae81fc9bc90 (diff) | |
Remove outdated references to `librustc_middle`.
Diffstat (limited to 'compiler/rustc_const_eval/src/const_eval')
| -rw-r--r-- | compiler/rustc_const_eval/src/const_eval/error.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_const_eval/src/const_eval/error.rs b/compiler/rustc_const_eval/src/const_eval/error.rs index ef39d13d78a..c5f6aff24d3 100644 --- a/compiler/rustc_const_eval/src/const_eval/error.rs +++ b/compiler/rustc_const_eval/src/const_eval/error.rs @@ -50,9 +50,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() |
