Skip to content

Commit 3d55974

Browse files
committed
Fix quotation mark
1 parent dc274e6 commit 3d55974

File tree

2 files changed

+2
-2
lines changed
  • src
    • librustc_driver
    • test/run-make/output-filename-conflicts-with-directory

2 files changed

+2
-2
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub fn compile_input(trans: Box<TransCrate>,
136136
if let Some(dir_path) = outputs.conflicts_with_dir() {
137137
sess.err(&format!(
138138
"the generated executable for the input file \"{}\" conflicts with the \
139-
existing directory \"{}\'",
139+
existing directory \"{}\"",
140140
input_path.display(), dir_path.display()));
141141
return Err(CompileIncomplete::Stopped);
142142
}

src/test/run-make/output-filename-conflicts-with-directory/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ all:
44
cp foo.rs $(TMPDIR)/foo.rs
55
mkdir $(TMPDIR)/foo
66
$(RUSTC) $(TMPDIR)/foo.rs 2>&1 \
7-
| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\'"
7+
| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\""

0 commit comments

Comments
 (0)