Skip to content

Commit caada74

Browse files
committed
Add missing emitted_at to the Diagnostic
1 parent 39895b0 commit caada74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_errors/src/diagnostic.rs

+1
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ impl Diagnostic {
225225
args: Default::default(),
226226
sort_span: DUMMY_SP,
227227
is_lint: false,
228+
emitted_at: DiagnosticLocation::caller(),
228229
}
229230
}
230231

0 commit comments

Comments
 (0)