@@ -6,7 +6,7 @@ LL | r#"\aaa"#;
66 |
77 = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
88 = help: to override `-D warnings` add `#[allow(clippy::needless_raw_string_hashes)]`
9- help: remove all the hashes around the literal
9+ help: remove all the hashes around the string literal
1010 |
1111LL - r#"\aaa"#;
1212LL + r"\aaa";
@@ -18,7 +18,7 @@ error: unnecessary hashes around raw string literal
1818LL | r##"Hello "world"!"##;
1919 | ^^^^^^^^^^^^^^^^^^^^^
2020 |
21- help: remove one hash from both sides of the literal
21+ help: remove one hash from both sides of the string literal
2222 |
2323LL - r##"Hello "world"!"##;
2424LL + r#"Hello "world"!"#;
@@ -30,7 +30,7 @@ error: unnecessary hashes around raw string literal
3030LL | r######" "### "## "# "######;
3131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3232 |
33- help: remove 2 hashes from both sides of the literal
33+ help: remove 2 hashes from both sides of the string literal
3434 |
3535LL - r######" "### "## "# "######;
3636LL + r####" "### "## "# "####;
@@ -42,7 +42,7 @@ error: unnecessary hashes around raw string literal
4242LL | r######" "aa" "# "## "######;
4343 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4444 |
45- help: remove 3 hashes from both sides of the literal
45+ help: remove 3 hashes from both sides of the string literal
4646 |
4747LL - r######" "aa" "# "## "######;
4848LL + r###" "aa" "# "## "###;
@@ -54,7 +54,7 @@ error: unnecessary hashes around raw string literal
5454LL | br#"\aaa"#;
5555 | ^^^^^^^^^^
5656 |
57- help: remove all the hashes around the literal
57+ help: remove all the hashes around the byte string literal
5858 |
5959LL - br#"\aaa"#;
6060LL + br"\aaa";
@@ -66,7 +66,7 @@ error: unnecessary hashes around raw string literal
6666LL | br##"Hello "world"!"##;
6767 | ^^^^^^^^^^^^^^^^^^^^^^
6868 |
69- help: remove one hash from both sides of the literal
69+ help: remove one hash from both sides of the byte string literal
7070 |
7171LL - br##"Hello "world"!"##;
7272LL + br#"Hello "world"!"#;
@@ -78,7 +78,7 @@ error: unnecessary hashes around raw string literal
7878LL | br######" "### "## "# "######;
7979 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8080 |
81- help: remove 2 hashes from both sides of the literal
81+ help: remove 2 hashes from both sides of the byte string literal
8282 |
8383LL - br######" "### "## "# "######;
8484LL + br####" "### "## "# "####;
@@ -90,7 +90,7 @@ error: unnecessary hashes around raw string literal
9090LL | br######" "aa" "# "## "######;
9191 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9292 |
93- help: remove 3 hashes from both sides of the literal
93+ help: remove 3 hashes from both sides of the byte string literal
9494 |
9595LL - br######" "aa" "# "## "######;
9696LL + br###" "aa" "# "## "###;
@@ -102,7 +102,7 @@ error: unnecessary hashes around raw string literal
102102LL | cr#"\aaa"#;
103103 | ^^^^^^^^^^
104104 |
105- help: remove all the hashes around the literal
105+ help: remove all the hashes around the C string literal
106106 |
107107LL - cr#"\aaa"#;
108108LL + cr"\aaa";
@@ -114,7 +114,7 @@ error: unnecessary hashes around raw string literal
114114LL | cr##"Hello "world"!"##;
115115 | ^^^^^^^^^^^^^^^^^^^^^^
116116 |
117- help: remove one hash from both sides of the literal
117+ help: remove one hash from both sides of the C string literal
118118 |
119119LL - cr##"Hello "world"!"##;
120120LL + cr#"Hello "world"!"#;
@@ -126,7 +126,7 @@ error: unnecessary hashes around raw string literal
126126LL | cr######" "### "## "# "######;
127127 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128128 |
129- help: remove 2 hashes from both sides of the literal
129+ help: remove 2 hashes from both sides of the C string literal
130130 |
131131LL - cr######" "### "## "# "######;
132132LL + cr####" "### "## "# "####;
@@ -138,7 +138,7 @@ error: unnecessary hashes around raw string literal
138138LL | cr######" "aa" "# "## "######;
139139 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
140140 |
141- help: remove 3 hashes from both sides of the literal
141+ help: remove 3 hashes from both sides of the C string literal
142142 |
143143LL - cr######" "aa" "# "## "######;
144144LL + cr###" "aa" "# "## "###;
@@ -154,7 +154,7 @@ LL | | string
154154LL | | "#;
155155 | |______^
156156 |
157- help: remove all the hashes around the literal
157+ help: remove all the hashes around the string literal
158158 |
159159LL ~ r"
160160LL | \a
@@ -169,7 +169,7 @@ error: unnecessary hashes around raw string literal
169169LL | r###"rust"###;
170170 | ^^^^^^^^^^^^^
171171 |
172- help: remove all the hashes around the literal
172+ help: remove all the hashes around the string literal
173173 |
174174LL - r###"rust"###;
175175LL + r"rust";
@@ -181,7 +181,7 @@ error: unnecessary hashes around raw string literal
181181LL | r#"hello world"#;
182182 | ^^^^^^^^^^^^^^^^
183183 |
184- help: remove all the hashes around the literal
184+ help: remove all the hashes around the string literal
185185 |
186186LL - r#"hello world"#;
187187LL + r"hello world";
0 commit comments