Fix quotation mark

This commit is contained in:
varkor 2018-01-05 10:15:52 +00:00
parent dc274e68a7
commit 3d55974be4
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ pub fn compile_input(trans: Box<TransCrate>,
if let Some(dir_path) = outputs.conflicts_with_dir() {
sess.err(&format!(
"the generated executable for the input file \"{}\" conflicts with the \
existing directory \"{}\'",
existing directory \"{}\"",
input_path.display(), dir_path.display()));
return Err(CompileIncomplete::Stopped);
}

View File

@ -4,4 +4,4 @@ all:
cp foo.rs $(TMPDIR)/foo.rs
mkdir $(TMPDIR)/foo
$(RUSTC) $(TMPDIR)/foo.rs 2>&1 \
| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\'"
| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\""