Skip to content

Commit f758eb6

Browse files
committed
use double quotes for E0761
1 parent 59f551a commit f758eb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_expand/src/module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ impl ModError<'_> {
269269
diag,
270270
span,
271271
E0761,
272-
"file for module `{}` found at both {} and {}",
272+
"file for module `{}` found at both \"{}\" and \"{}\"",
273273
ident,
274274
default_path_short,
275275
secondary_path_short,

src/test/ui/modules_and_files_visibility/mod_file_disambig.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0761]: file for module `mod_file_disambig_aux` found at both mod_file_disambig_aux.rs and mod_file_disambig_aux/mod.rs
1+
error[E0761]: file for module `mod_file_disambig_aux` found at both "mod_file_disambig_aux.rs" and "mod_file_disambig_aux/mod.rs"
22
--> $DIR/mod_file_disambig.rs:1:1
33
|
44
LL | mod mod_file_disambig_aux;

0 commit comments

Comments
 (0)