diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-03-19 09:41:38 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-04-03 09:17:55 +0000 |
| commit | c51816ee59576477f79d58e633e145bec381d807 (patch) | |
| tree | c50e0eae690ebb7e61a9c79d4eaa361213649180 /compiler/rustc_const_eval/src | |
| parent | f3eaf1624c7bc900900248c5112ba8a6be849c85 (diff) | |
| download | rust-c51816ee59576477f79d58e633e145bec381d807.tar.gz rust-c51816ee59576477f79d58e633e145bec381d807.zip | |
Make LevelAndSource a struct
Diffstat (limited to 'compiler/rustc_const_eval/src')
| -rw-r--r-- | compiler/rustc_const_eval/src/const_eval/machine.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/const_eval/machine.rs b/compiler/rustc_const_eval/src/const_eval/machine.rs index 496f6c86f71..61a7ec13511 100644 --- a/compiler/rustc_const_eval/src/const_eval/machine.rs +++ b/compiler/rustc_const_eval/src/const_eval/machine.rs @@ -546,7 +546,7 @@ impl<'tcx> interpret::Machine<'tcx> for CompileTimeMachine<'tcx> { rustc_session::lint::builtin::LONG_RUNNING_CONST_EVAL, hir_id, ) - .0 + .level .is_error(); let span = ecx.cur_span(); ecx.tcx.emit_node_span_lint( |
