1 error: unnecessary hashes around raw string literal
2 --> $DIR/needless_raw_string_hashes.rs:6:5
7 = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
8 = help: to override `-D warnings` add `#[allow(clippy::needless_raw_string_hashes)]`
9 help: remove all the hashes around the literal
15 error: unnecessary hashes around raw string literal
16 --> $DIR/needless_raw_string_hashes.rs:7:5
18 LL | r##"Hello "world"!"##;
19 | ^^^^^^^^^^^^^^^^^^^^^
21 help: remove one hash from both sides of the literal
23 LL - r##"Hello "world"!"##;
24 LL + r#"Hello "world"!"#;
27 error: unnecessary hashes around raw string literal
28 --> $DIR/needless_raw_string_hashes.rs:8:5
30 LL | r######" "### "## "# "######;
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33 help: remove 2 hashes from both sides of the literal
35 LL - r######" "### "## "# "######;
36 LL + r####" "### "## "# "####;
39 error: unnecessary hashes around raw string literal
40 --> $DIR/needless_raw_string_hashes.rs:9:5
42 LL | r######" "aa" "# "## "######;
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45 help: remove 3 hashes from both sides of the literal
47 LL - r######" "aa" "# "## "######;
48 LL + r###" "aa" "# "## "###;
51 error: unnecessary hashes around raw string literal
52 --> $DIR/needless_raw_string_hashes.rs:10:5
57 help: remove all the hashes around the literal
63 error: unnecessary hashes around raw string literal
64 --> $DIR/needless_raw_string_hashes.rs:11:5
66 LL | br##"Hello "world"!"##;
67 | ^^^^^^^^^^^^^^^^^^^^^^
69 help: remove one hash from both sides of the literal
71 LL - br##"Hello "world"!"##;
72 LL + br#"Hello "world"!"#;
75 error: unnecessary hashes around raw string literal
76 --> $DIR/needless_raw_string_hashes.rs:12:5
78 LL | br######" "### "## "# "######;
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81 help: remove 2 hashes from both sides of the literal
83 LL - br######" "### "## "# "######;
84 LL + br####" "### "## "# "####;
87 error: unnecessary hashes around raw string literal
88 --> $DIR/needless_raw_string_hashes.rs:13:5
90 LL | br######" "aa" "# "## "######;
91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93 help: remove 3 hashes from both sides of the literal
95 LL - br######" "aa" "# "## "######;
96 LL + br###" "aa" "# "## "###;
99 error: unnecessary hashes around raw string literal
100 --> $DIR/needless_raw_string_hashes.rs:14:5
105 help: remove all the hashes around the literal
111 error: unnecessary hashes around raw string literal
112 --> $DIR/needless_raw_string_hashes.rs:15:5
114 LL | cr##"Hello "world"!"##;
115 | ^^^^^^^^^^^^^^^^^^^^^^
117 help: remove one hash from both sides of the literal
119 LL - cr##"Hello "world"!"##;
120 LL + cr#"Hello "world"!"#;
123 error: unnecessary hashes around raw string literal
124 --> $DIR/needless_raw_string_hashes.rs:16:5
126 LL | cr######" "### "## "# "######;
127 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129 help: remove 2 hashes from both sides of the literal
131 LL - cr######" "### "## "# "######;
132 LL + cr####" "### "## "# "####;
135 error: unnecessary hashes around raw string literal
136 --> $DIR/needless_raw_string_hashes.rs:17:5
138 LL | cr######" "aa" "# "## "######;
139 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
141 help: remove 3 hashes from both sides of the literal
143 LL - cr######" "aa" "# "## "######;
144 LL + cr###" "aa" "# "## "###;
147 error: unnecessary hashes around raw string literal
148 --> $DIR/needless_raw_string_hashes.rs:19:5
157 help: remove all the hashes around the literal
166 error: unnecessary hashes around raw string literal
167 --> $DIR/needless_raw_string_hashes.rs:25:5
172 help: remove all the hashes around the literal
178 error: unnecessary hashes around raw string literal
179 --> $DIR/needless_raw_string_hashes.rs:26:5
181 LL | r#"hello world"#;
184 help: remove all the hashes around the literal
186 LL - r#"hello world"#;
190 error: aborting due to 15 previous errors