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-
91error: unnecessary hashes around raw string literal
102 --> $DIR/needless_raw_string_hashes.rs:8:5
113 |
124LL | r##"Hello "world"!"##;
135 | ^^^^^^^^^^^^^^^^^^^^^ help: try: `r#"Hello "world"!"#`
6+ |
7+ = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
148
159error: unnecessary hashes around raw string literal
1610 --> $DIR/needless_raw_string_hashes.rs:9:5
@@ -24,12 +18,6 @@ error: unnecessary hashes around raw string literal
2418LL | r######" "aa" "# "## "######;
2519 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r###" "aa" "# "## "###`
2620
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-
3321error: unnecessary hashes around raw string literal
3422 --> $DIR/needless_raw_string_hashes.rs:12:5
3523 |
@@ -48,12 +36,6 @@ error: unnecessary hashes around raw string literal
4836LL | br######" "aa" "# "## "######;
4937 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `br###" "aa" "# "## "###`
5038
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-
5739error: unnecessary hashes around raw string literal
5840 --> $DIR/needless_raw_string_hashes.rs:16:5
5941 |
@@ -72,5 +54,5 @@ error: unnecessary hashes around raw string literal
7254LL | cr######" "aa" "# "## "######;
7355 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr###" "aa" "# "## "###`
7456
75- error: aborting due to 12 previous errors
57+ error: aborting due to 9 previous errors
7658
0 commit comments