Skip to content

Commit

Permalink
Add missing emitted_at to the Diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
SLASHLogin committed Nov 9, 2022
1 parent 39895b0 commit caada74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_errors/src/diagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ impl Diagnostic {
args: Default::default(),
sort_span: DUMMY_SP,
is_lint: false,
emitted_at: DiagnosticLocation::caller(),
}
}

Expand Down

0 comments on commit caada74

Please sign in to comment.