From 25fdea009ef0db01134d17cf97cd09b507beca99 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Mon, 3 Apr 2023 15:11:30 +0000 Subject: fix errors --- compiler/rustc_macros/src/diagnostics/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_macros/src/diagnostics/utils.rs') 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", -- cgit 1.4.1-3-g733a5