Make LevelAndSource a struct
This commit is contained in:
parent
f3eaf1624c
commit
c51816ee59
23 changed files with 105 additions and 86 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue