|
| 1 | +error: unnecessary hashes around raw string literal |
| 2 | + --> $DIR/needless_raw_string_hashes.rs:7:5 |
| 3 | + | |
| 4 | +LL | r#"aaa"#; |
| 5 | + | ^^^^^^^^ help: try: `r"aaa"` |
| 6 | + | |
| 7 | + = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings` |
| 8 | + |
| 9 | +error: unnecessary hashes around raw string literal |
| 10 | + --> $DIR/needless_raw_string_hashes.rs:8:5 |
| 11 | + | |
| 12 | +LL | r##"Hello "world"!"##; |
| 13 | + | ^^^^^^^^^^^^^^^^^^^^^ help: try: `r#"Hello "world"!"#` |
| 14 | + |
| 15 | +error: unnecessary hashes around raw string literal |
| 16 | + --> $DIR/needless_raw_string_hashes.rs:9:5 |
| 17 | + | |
| 18 | +LL | r######" "### "## "# "######; |
| 19 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r####" "### "## "# "####` |
| 20 | + |
| 21 | +error: unnecessary hashes around raw string literal |
| 22 | + --> $DIR/needless_raw_string_hashes.rs:10:5 |
| 23 | + | |
| 24 | +LL | r######" "aa" "# "## "######; |
| 25 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r###" "aa" "# "## "###` |
| 26 | + |
| 27 | +error: unnecessary hashes around raw string literal |
| 28 | + --> $DIR/needless_raw_string_hashes.rs:11:5 |
| 29 | + | |
| 30 | +LL | br#"aaa"#; |
| 31 | + | ^^^^^^^^^ help: try: `br"aaa"` |
| 32 | + |
| 33 | +error: unnecessary hashes around raw string literal |
| 34 | + --> $DIR/needless_raw_string_hashes.rs:12:5 |
| 35 | + | |
| 36 | +LL | br##"Hello "world"!"##; |
| 37 | + | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `br#"Hello "world"!"#` |
| 38 | + |
| 39 | +error: unnecessary hashes around raw string literal |
| 40 | + --> $DIR/needless_raw_string_hashes.rs:13:5 |
| 41 | + | |
| 42 | +LL | br######" "### "## "# "######; |
| 43 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `br####" "### "## "# "####` |
| 44 | + |
| 45 | +error: unnecessary hashes around raw string literal |
| 46 | + --> $DIR/needless_raw_string_hashes.rs:14:5 |
| 47 | + | |
| 48 | +LL | br######" "aa" "# "## "######; |
| 49 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `br###" "aa" "# "## "###` |
| 50 | + |
| 51 | +error: unnecessary hashes around raw string literal |
| 52 | + --> $DIR/needless_raw_string_hashes.rs:15:5 |
| 53 | + | |
| 54 | +LL | cr#"aaa"#; |
| 55 | + | ^^^^^^^^^ help: try: `cr"aaa"` |
| 56 | + |
| 57 | +error: unnecessary hashes around raw string literal |
| 58 | + --> $DIR/needless_raw_string_hashes.rs:16:5 |
| 59 | + | |
| 60 | +LL | cr##"Hello "world"!"##; |
| 61 | + | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr#"Hello "world"!"#` |
| 62 | + |
| 63 | +error: unnecessary hashes around raw string literal |
| 64 | + --> $DIR/needless_raw_string_hashes.rs:17:5 |
| 65 | + | |
| 66 | +LL | cr######" "### "## "# "######; |
| 67 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr####" "### "## "# "####` |
| 68 | + |
| 69 | +error: unnecessary hashes around raw string literal |
| 70 | + --> $DIR/needless_raw_string_hashes.rs:18:5 |
| 71 | + | |
| 72 | +LL | cr######" "aa" "# "## "######; |
| 73 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr###" "aa" "# "## "###` |
| 74 | + |
| 75 | +error: aborting due to 12 previous errors |
| 76 | + |
0 commit comments