diff options
| author | SLASHLogin <loginmlgxd@gmail.com> | 2022-11-09 15:14:58 +0100 |
|---|---|---|
| committer | SLASHLogin <loginmlgxd@gmail.com> | 2022-11-09 15:14:58 +0100 |
| commit | caada745d1461a49f99f381bd5856451a5408ab4 (patch) | |
| tree | fc7fc61643f04e57adc21adbbb3586b8d09157ba /compiler/rustc_errors | |
| parent | 39895b071645f2c377e4a9a3c16f92bc5c93c807 (diff) | |
| download | rust-caada745d1461a49f99f381bd5856451a5408ab4.tar.gz rust-caada745d1461a49f99f381bd5856451a5408ab4.zip | |
Add missing `emitted_at` to the `Diagnostic`
Diffstat (limited to 'compiler/rustc_errors')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs index 0ee4c6e722f..43101bbb9d3 100644 --- a/compiler/rustc_errors/src/diagnostic.rs +++ b/compiler/rustc_errors/src/diagnostic.rs @@ -225,6 +225,7 @@ impl Diagnostic { args: Default::default(), sort_span: DUMMY_SP, is_lint: false, + emitted_at: DiagnosticLocation::caller(), } } |
