about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-10-21 03:21:16 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-10-21 14:06:29 +0300
commit21d67c45a3d032b3f0d421e6f882f11ea43d1f9c (patch)
tree1056ff7db31d9e29e717227138364d5407ed7496 /src/libsyntax/parse
parent7977250fb4c4c939132c28efd5dc58213535c454 (diff)
downloadrust-21d67c45a3d032b3f0d421e6f882f11ea43d1f9c.tar.gz
rust-21d67c45a3d032b3f0d421e6f882f11ea43d1f9c.zip
Fix a few tests with target-specific output
Enable one fully ignored test
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 5c6d5816a47..a4b8ab86f37 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -230,7 +230,7 @@ fn file_to_source_file(sess: &ParseSess, path: &Path, spanopt: Option<Span>)
     match sess.source_map().load_file(path) {
         Ok(source_file) => source_file,
         Err(e) => {
-            let msg = format!("couldn't read {:?}: {}", path.display(), e);
+            let msg = format!("couldn't read {}: {}", path.display(), e);
             match spanopt {
                 Some(sp) => sess.span_diagnostic.span_fatal(sp, &msg).raise(),
                 None => sess.span_diagnostic.fatal(&msg).raise()