about summary refs log tree commit diff
path: root/src/test/ui/parser/raw
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-01-23 12:48:31 -0800
committerEsteban Küber <esteban@kuber.com.ar>2021-02-03 13:34:28 -0800
commit3b5d018ebb6ee8aa6181ebf1cf9ba0cb407f622f (patch)
treee714dab8b842b3abe0f3507ae61e250bb2f46105 /src/test/ui/parser/raw
parentb81f5811f96fe750ab28c15219d1b0dba6b1dc90 (diff)
downloadrust-3b5d018ebb6ee8aa6181ebf1cf9ba0cb407f622f.tar.gz
rust-3b5d018ebb6ee8aa6181ebf1cf9ba0cb407f622f.zip
Handle `Span`s for byte and raw strings and add more detail
Diffstat (limited to 'src/test/ui/parser/raw')
-rw-r--r--src/test/ui/parser/raw/raw-byte-string-literals.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/parser/raw/raw-byte-string-literals.stderr b/src/test/ui/parser/raw/raw-byte-string-literals.stderr
index 4076fe334e6..cfc877104bd 100644
--- a/src/test/ui/parser/raw/raw-byte-string-literals.stderr
+++ b/src/test/ui/parser/raw/raw-byte-string-literals.stderr
@@ -8,7 +8,7 @@ error: raw byte string must be ASCII
   --> $DIR/raw-byte-string-literals.rs:5:8
    |
 LL |     br"é";
-   |        ^
+   |        ^ must be ASCII
 
 error: found invalid character; only `#` is allowed in raw string delimitation: ~
   --> $DIR/raw-byte-string-literals.rs:6:5