2023-06-03 18:07:36 -05:00
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:8:5
|
|
|
|
|
|
|
|
|
LL | r##"Hello "world"!"##;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `r#"Hello "world"!"#`
|
2023-06-09 21:40:09 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
|
2023-06-03 18:07:36 -05:00
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:9:5
|
|
|
|
|
|
|
|
|
LL | r######" "### "## "# "######;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r####" "### "## "# "####`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:10:5
|
|
|
|
|
|
|
|
|
LL | r######" "aa" "# "## "######;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r###" "aa" "# "## "###`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:12:5
|
|
|
|
|
|
|
|
|
LL | br##"Hello "world"!"##;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `br#"Hello "world"!"#`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:13:5
|
|
|
|
|
|
|
|
|
LL | br######" "### "## "# "######;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `br####" "### "## "# "####`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:14:5
|
|
|
|
|
|
|
|
|
LL | br######" "aa" "# "## "######;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `br###" "aa" "# "## "###`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:16:5
|
|
|
|
|
|
|
|
|
LL | cr##"Hello "world"!"##;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr#"Hello "world"!"#`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:17:5
|
|
|
|
|
|
|
|
|
LL | cr######" "### "## "# "######;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr####" "### "## "# "####`
|
|
|
|
|
|
|
|
error: unnecessary hashes around raw string literal
|
|
|
|
--> $DIR/needless_raw_string_hashes.rs:18:5
|
|
|
|
|
|
|
|
|
LL | cr######" "aa" "# "## "######;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cr###" "aa" "# "## "###`
|
|
|
|
|
2023-06-09 21:40:09 -05:00
|
|
|
error: aborting due to 9 previous errors
|
2023-06-03 18:07:36 -05:00
|
|
|
|