diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2023-04-03 15:11:30 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2023-04-06 04:55:58 +0000 |
| commit | 25fdea009ef0db01134d17cf97cd09b507beca99 (patch) | |
| tree | a48b7bad24ef7e044e000254c25f8763100fe677 /compiler/rustc_macros/src/diagnostics/utils.rs | |
| parent | fc01b4b63c5336a0f296b049525e18798b95b374 (diff) | |
| download | rust-25fdea009ef0db01134d17cf97cd09b507beca99.tar.gz rust-25fdea009ef0db01134d17cf97cd09b507beca99.zip | |
fix errors
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/utils.rs')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/utils.rs b/compiler/rustc_macros/src/diagnostics/utils.rs index bc104941c38..838347ecb61 100644 --- a/compiler/rustc_macros/src/diagnostics/utils.rs +++ b/compiler/rustc_macros/src/diagnostics/utils.rs @@ -727,7 +727,7 @@ impl SubdiagnosticKind { fields, AllowMultipleAlternatives::Yes, ); - code.set_once(code_init, span); + code.set_once(code_init, path_span); } ( "applicability", |
