Skip to content

Commit

Permalink
Update source_util.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
  • Loading branch information
kornelski and estebank authored Mar 5, 2024
1 parent 604e28a commit 6eeb9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_builtin_macros/src/source_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit 6eeb9ab

Please sign in to comment.