fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: octal-looking escape in string literal 2 --> $DIR/octal_escapes.rs:5:17 3 | 4LL | let _bad1 = "\033[0m"; 5 | ^^^^^^^^^ 6 | 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: to override `-D warnings` add `#[allow(clippy::octal_escapes)]` 10help: if an octal escape was intended, use the hexadecimal representation instead 11 | 12LL | let _bad1 = "\x1b[0m"; 13 | ~~~~~~~~~ 14help: if the null character is intended, disambiguate using 15 | 16LL | let _bad1 = "\x0033[0m"; 17 | ~~~~~~~~~~~ 18 19error: octal-looking escape in byte string literal 20 --> $DIR/octal_escapes.rs:7:17 21 | 22LL | let _bad2 = b"\033[0m"; 23 | ^^^^^^^^^^ 24 | 25 = help: octal escapes are not supported, `\0` is always a null byte 26help: if an octal escape was intended, use the hexadecimal representation instead 27 | 28LL | let _bad2 = b"\x1b[0m"; 29 | ~~~~~~~~~~ 30help: if the null byte is intended, disambiguate using 31 | 32LL | let _bad2 = b"\x0033[0m"; 33 | ~~~~~~~~~~~~ 34 35error: octal-looking escape in string literal 36 --> $DIR/octal_escapes.rs:9:17 37 | 38LL | let _bad3 = "\\\033[0m"; 39 | ^^^^^^^^^^^ 40 | 41 = help: octal escapes are not supported, `\0` is always a null character 42help: if an octal escape was intended, use the hexadecimal representation instead 43 | 44LL | let _bad3 = "\\\x1b[0m"; 45 | ~~~~~~~~~~~ 46help: if the null character is intended, disambiguate using 47 | 48LL | let _bad3 = "\\\x0033[0m"; 49 | ~~~~~~~~~~~~~ 50 51error: octal-looking escape in string literal 52 --> $DIR/octal_escapes.rs:12:17 53 | 54LL | let _bad4 = "\01234567"; 55 | ^^^^^^^^^^^ 56 | 57 = help: octal escapes are not supported, `\0` is always a null character 58help: if an octal escape was intended, use the hexadecimal representation instead 59 | 60LL | let _bad4 = "\x0a34567"; 61 | ~~~~~~~~~~~ 62help: if the null character is intended, disambiguate using 63 | 64LL | let _bad4 = "\x001234567"; 65 | ~~~~~~~~~~~~~ 66 67error: octal-looking escape in string literal 68 --> $DIR/octal_escapes.rs:14:17 69 | 70LL | let _bad5 = "\0\03"; 71 | ^^^^^^^ 72 | 73 = help: octal escapes are not supported, `\0` is always a null character 74help: if an octal escape was intended, use the hexadecimal representation instead 75 | 76LL | let _bad5 = "\0\x03"; 77 | ~~~~~~~~ 78help: if the null character is intended, disambiguate using 79 | 80LL | let _bad5 = "\0\x003"; 81 | ~~~~~~~~~ 82 83error: octal-looking escape in string literal 84 --> $DIR/octal_escapes.rs:16:17 85 | 86LL | let _bad6 = "Text-\055\077-MoreText"; 87 | ^^^^^^^^^^^^^^^^^^^^^^^^ 88 | 89 = help: octal escapes are not supported, `\0` is always a null character 90help: if an octal escape was intended, use the hexadecimal representation instead 91 | 92LL | let _bad6 = "Text-\x2d\x3f-MoreText"; 93 | ~~~~~~~~~~~~~~~~~~~~~~~~ 94help: if the null character is intended, disambiguate using 95 | 96LL | let _bad6 = "Text-\x0055\x0077-MoreText"; 97 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 99error: octal-looking escape in string literal 100 --> $DIR/octal_escapes.rs:18:17 101 | 102LL | let _bad7 = "EvenMoreText-\01\02-ShortEscapes"; 103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 104 | 105 = help: octal escapes are not supported, `\0` is always a null character 106help: if an octal escape was intended, use the hexadecimal representation instead 107 | 108LL | let _bad7 = "EvenMoreText-\x01\x02-ShortEscapes"; 109 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110help: if the null character is intended, disambiguate using 111 | 112LL | let _bad7 = "EvenMoreText-\x001\x002-ShortEscapes"; 113 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 115error: octal-looking escape in string literal 116 --> $DIR/octal_escapes.rs:20:17 117 | 118LL | let _bad8 = "锈\01锈"; 119 | ^^^^^^^^^ 120 | 121 = help: octal escapes are not supported, `\0` is always a null character 122help: if an octal escape was intended, use the hexadecimal representation instead 123 | 124LL | let _bad8 = "锈\x01锈"; 125 | ~~~~~~~~~~ 126help: if the null character is intended, disambiguate using 127 | 128LL | let _bad8 = "锈\x001锈"; 129 | ~~~~~~~~~~~ 130 131error: octal-looking escape in string literal 132 --> $DIR/octal_escapes.rs:22:17 133 | 134LL | let _bad9 = "锈\011锈"; 135 | ^^^^^^^^^^ 136 | 137 = help: octal escapes are not supported, `\0` is always a null character 138help: if an octal escape was intended, use the hexadecimal representation instead 139 | 140LL | let _bad9 = "锈\x09锈"; 141 | ~~~~~~~~~~ 142help: if the null character is intended, disambiguate using 143 | 144LL | let _bad9 = "锈\x0011锈"; 145 | ~~~~~~~~~~~~ 146 147error: aborting due to 9 previous errors 148