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
1
error: unnecessary hashes around raw string literal
10
2
--> $DIR/needless_raw_string_hashes.rs:8:5
11
3
|
12
4
LL | r##"Hello "world"!"##;
13
5
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `r#"Hello "world"!"#`
6
+ |
7
+ = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
14
8
15
9
error: unnecessary hashes around raw string literal
16
10
--> $DIR/needless_raw_string_hashes.rs:9:5
@@ -24,12 +18,6 @@ error: unnecessary hashes around raw string literal
24
18
LL | r######" "aa" "# "## "######;
25
19
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r###" "aa" "# "## "###`
26
20
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
21
error: unnecessary hashes around raw string literal
34
22
--> $DIR/needless_raw_string_hashes.rs:12:5
35
23
|
@@ -48,12 +36,6 @@ error: unnecessary hashes around raw string literal
48
36
LL | br######" "aa" "# "## "######;
49
37
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `br###" "aa" "# "## "###`
50
38
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
39
error: unnecessary hashes around raw string literal
58
40
--> $DIR/needless_raw_string_hashes.rs:16:5
59
41
|
@@ -72,5 +54,5 @@ error: unnecessary hashes around raw string literal
72
54
LL | cr######" "aa" "# "## "######;
73
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr###" "aa" "# "## "###`
74
56
75
- error: aborting due to 12 previous errors
57
+ error: aborting due to 9 previous errors
76
58
0 commit comments