about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-09-03 10:54:53 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-09-03 10:54:53 +0300
commit405c616eaf4e58a8bed67924c364c8e9c83b2581 (patch)
treea88bb7ef0691d3b97c24afe8b82f605b62252d66 /src/test/parse-fail
parent69c3b39d0d7136aff5ddb6e4cb08db3dca0621fc (diff)
downloadrust-405c616eaf4e58a8bed67924c364c8e9c83b2581.tar.gz
rust-405c616eaf4e58a8bed67924c364c8e9c83b2581.zip
Use consistent terminology for byte string literals
Avoid confusion with binary integer literals and binary operator expressions in libsyntax
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/bad-lit-suffixes.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/parse-fail/bad-lit-suffixes.rs b/src/test/parse-fail/bad-lit-suffixes.rs
index a2ee2f6e88c..d5985fcebeb 100644
--- a/src/test/parse-fail/bad-lit-suffixes.rs
+++ b/src/test/parse-fail/bad-lit-suffixes.rs
@@ -20,10 +20,10 @@ extern
 {}
 
 fn main() {
-    ""suffix; //~ ERROR str literal with a suffix is invalid
-    b""suffix; //~ ERROR binary str literal with a suffix is invalid
-    r#""#suffix; //~ ERROR str literal with a suffix is invalid
-    br#""#suffix; //~ ERROR binary str literal with a suffix is invalid
+    ""suffix; //~ ERROR string literal with a suffix is invalid
+    b""suffix; //~ ERROR byte string literal with a suffix is invalid
+    r#""#suffix; //~ ERROR string literal with a suffix is invalid
+    br#""#suffix; //~ ERROR byte string literal with a suffix is invalid
     'a'suffix; //~ ERROR char literal with a suffix is invalid
     b'a'suffix; //~ ERROR byte literal with a suffix is invalid