about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval
diff options
context:
space:
mode:
authorAlona Enraght-Moony <code@alona.page>2024-01-05 02:52:37 +0000
committerAlona Enraght-Moony <code@alona.page>2024-01-05 16:34:52 +0000
commit16e117cf964064f8f70ab2e55f24ed37e1e9a4ee (patch)
treec4ddc656548390e683268be013ab52631d31a29c /compiler/rustc_const_eval/src/const_eval
parentf688dd684faca5b31b156fac2c6e0ae81fc9bc90 (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.rs4
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()