summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
commitd1b2d29528b7794b41e66fc2136e395a02f8529b (patch)
treea4a17504b260206dec3cf55b2dca82929a348ac2 /tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr
parentReleasing progress-linux version 1.72.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.tar.xz
rustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr')
-rw-r--r--tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr b/tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr
deleted file mode 100644
index 47361fb61..000000000
--- a/tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.stderr
+++ /dev/null
@@ -1,38 +0,0 @@
-error: prefix `c` is unknown
- --> $DIR/non-ascii.rs:9:9
- |
-LL | c"\xEF\x80🦀\u{1F980}".to_bytes_with_nul(),
- | ^ unknown prefix
- |
- = note: prefixed identifiers and literals are reserved since Rust 2021
-help: consider inserting whitespace here
- |
-LL | c "\xEF\x80🦀\u{1F980}".to_bytes_with_nul(),
- | +
-
-error: out of range hex escape
- --> $DIR/non-ascii.rs:9:11
- |
-LL | c"\xEF\x80🦀\u{1F980}".to_bytes_with_nul(),
- | ^^^^ must be a character in the range [\x00-\x7f]
-
-error: out of range hex escape
- --> $DIR/non-ascii.rs:9:15
- |
-LL | c"\xEF\x80🦀\u{1F980}".to_bytes_with_nul(),
- | ^^^^ must be a character in the range [\x00-\x7f]
-
-error: no rules expected the token `"\xEF\x80🦀\u{1F980}"`
- --> $DIR/non-ascii.rs:9:10
- |
-LL | c"\xEF\x80🦀\u{1F980}".to_bytes_with_nul(),
- | -^^^^^^^^^^^^^^^^^^^^
- | |
- | no rules expected this token in macro call
- | help: missing comma here
- |
-note: while trying to match `,`
- --> $SRC_DIR/core/src/macros/mod.rs:LL:COL
-
-error: aborting due to 4 previous errors
-