From 6eeb9ab4dd5011194227ff7518e6cd859e2e88fc Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 5 Mar 2024 10:45:54 +0000 Subject: [PATCH] Update source_util.rs Co-authored-by: Esteban Kuber --- compiler/rustc_builtin_macros/src/source_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_builtin_macros/src/source_util.rs b/compiler/rustc_builtin_macros/src/source_util.rs index f92122184a180..fbf29f0d44952 100644 --- a/compiler/rustc_builtin_macros/src/source_util.rs +++ b/compiler/rustc_builtin_macros/src/source_util.rs @@ -252,7 +252,7 @@ fn load_binary_file( if let Some(new_path) = new_path { err.span_suggestion( path_span, - "there is a file in another directory", + "there is a file with the same name in a different directory", format!("\"{}\"", new_path.escape_debug()), rustc_lint_defs::Applicability::MachineApplicable, );