summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/octal_escapes.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /src/tools/clippy/tests/ui/octal_escapes.stderr
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tools/clippy/tests/ui/octal_escapes.stderr')
-rw-r--r--src/tools/clippy/tests/ui/octal_escapes.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/clippy/tests/ui/octal_escapes.stderr b/src/tools/clippy/tests/ui/octal_escapes.stderr
index aa362e963..63fdfe486 100644
--- a/src/tools/clippy/tests/ui/octal_escapes.stderr
+++ b/src/tools/clippy/tests/ui/octal_escapes.stderr
@@ -34,17 +34,17 @@ LL | let _bad2 = b"/x0033[0m";
error: octal-looking escape in string literal
--> $DIR/octal_escapes.rs:6:17
|
-LL | let _bad3 = "//033[0m";
+LL | let _bad3 = "///033[0m";
| ^^^^^^^^^^^
|
= help: octal escapes are not supported, `/0` is always a null character
help: if an octal escape was intended, use the hexadecimal representation instead
|
-LL | let _bad3 = "//x1b[0m";
+LL | let _bad3 = "///x1b[0m";
| ~~~~~~~~~~~
help: if the null character is intended, disambiguate using
|
-LL | let _bad3 = "//x0033[0m";
+LL | let _bad3 = "///x0033[0m";
| ~~~~~~~~~~~~~
error: octal-looking escape in string literal