1 error: octal-looking escape in string literal
2 --> $DIR/octal_escapes.rs:4:17
4 LL | let _bad1 = "/033[0m";
7 = help: octal escapes are not supported, `/0` is always a null character
8 = note: `-D clippy::octal-escapes` implied by `-D warnings`
9 help: if an octal escape was intended, use the hexadecimal representation instead
11 LL | let _bad1 = "/x1b[0m";
13 help: if the null character is intended, disambiguate using
15 LL | let _bad1 = "/x0033[0m";
18 error: octal-looking escape in byte string literal
19 --> $DIR/octal_escapes.rs:5:17
21 LL | let _bad2 = b"/033[0m";
24 = help: octal escapes are not supported, `/0` is always a null byte
25 help: if an octal escape was intended, use the hexadecimal representation instead
27 LL | let _bad2 = b"/x1b[0m";
29 help: if the null byte is intended, disambiguate using
31 LL | let _bad2 = b"/x0033[0m";
34 error: octal-looking escape in string literal
35 --> $DIR/octal_escapes.rs:6:17
37 LL | let _bad3 = "//033[0m";
40 = help: octal escapes are not supported, `/0` is always a null character
41 help: if an octal escape was intended, use the hexadecimal representation instead
43 LL | let _bad3 = "//x1b[0m";
45 help: if the null character is intended, disambiguate using
47 LL | let _bad3 = "//x0033[0m";
50 error: octal-looking escape in string literal
51 --> $DIR/octal_escapes.rs:8:17
53 LL | let _bad4 = "/01234567";
56 = help: octal escapes are not supported, `/0` is always a null character
57 help: if an octal escape was intended, use the hexadecimal representation instead
59 LL | let _bad4 = "/x0a34567";
61 help: if the null character is intended, disambiguate using
63 LL | let _bad4 = "/x001234567";
66 error: octal-looking escape in string literal
67 --> $DIR/octal_escapes.rs:10:17
69 LL | let _bad6 = "Text-/055/077-MoreText";
70 | ^^^^^^^^^^^^^^^^^^^^^^^^
72 = help: octal escapes are not supported, `/0` is always a null character
73 help: if an octal escape was intended, use the hexadecimal representation instead
75 LL | let _bad6 = "Text-/x2d/x3f-MoreText";
76 | ~~~~~~~~~~~~~~~~~~~~~~~~
77 help: if the null character is intended, disambiguate using
79 LL | let _bad6 = "Text-/x0055/x0077-MoreText";
80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82 error: octal-looking escape in string literal
83 --> $DIR/octal_escapes.rs:11:17
85 LL | let _bad7 = "EvenMoreText-/01/02-ShortEscapes";
86 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
88 = help: octal escapes are not supported, `/0` is always a null character
89 help: if an octal escape was intended, use the hexadecimal representation instead
91 LL | let _bad7 = "EvenMoreText-/x01/x02-ShortEscapes";
92 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 help: if the null character is intended, disambiguate using
95 LL | let _bad7 = "EvenMoreText-/x001/x002-ShortEscapes";
96 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 error: octal-looking escape in string literal
99 --> $DIR/octal_escapes.rs:12:17
101 LL | let _bad8 = "锈/01锈";
104 = help: octal escapes are not supported, `/0` is always a null character
105 help: if an octal escape was intended, use the hexadecimal representation instead
107 LL | let _bad8 = "锈/x01锈";
109 help: if the null character is intended, disambiguate using
111 LL | let _bad8 = "锈/x001锈";
114 error: octal-looking escape in string literal
115 --> $DIR/octal_escapes.rs:13:17
117 LL | let _bad9 = "锈/011锈";
120 = help: octal escapes are not supported, `/0` is always a null character
121 help: if an octal escape was intended, use the hexadecimal representation instead
123 LL | let _bad9 = "锈/x09锈";
125 help: if the null character is intended, disambiguate using
127 LL | let _bad9 = "锈/x0011锈";
130 error: aborting due to 8 previous errors