Add missing emitted_at
to the Diagnostic
This commit is contained in:
parent
39895b0716
commit
caada745d1
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ impl Diagnostic {
|
||||||
args: Default::default(),
|
args: Default::default(),
|
||||||
sort_span: DUMMY_SP,
|
sort_span: DUMMY_SP,
|
||||||
is_lint: false,
|
is_lint: false,
|
||||||
|
emitted_at: DiagnosticLocation::caller(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue