2023-07-02 12:35:19 +00:00
|
|
|
error: unnecessary raw string literal
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/needless_raw_string.rs:6:5
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | r#"aaa"#;
|
2023-08-27 13:55:55 +00:00
|
|
|
| ^^^^^^^^
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::needless-raw-strings` implied by `-D warnings`
|
2023-08-27 13:55:55 +00:00
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL - r#"aaa"#;
|
|
|
|
LL + "aaa";
|
|
|
|
|
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
error: unnecessary raw string literal
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/needless_raw_string.rs:9:5
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
|
LL | br#"aaa"#;
|
2023-08-27 13:55:55 +00:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL - br#"aaa"#;
|
|
|
|
LL + b"aaa";
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unnecessary raw string literal
|
|
|
|
--> $DIR/needless_raw_string.rs:12:5
|
|
|
|
|
|
|
|
|
LL | cr#"aaa"#;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL - cr#"aaa"#;
|
|
|
|
LL + c"aaa";
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unnecessary raw string literal
|
|
|
|
--> $DIR/needless_raw_string.rs:16:5
|
|
|
|
|
|
|
|
|
LL | / r#"
|
|
|
|
LL | | a
|
|
|
|
LL | | multiline
|
|
|
|
LL | | string
|
|
|
|
LL | | "#;
|
|
|
|
| |______^
|
|
|
|
|
|
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL ~ "
|
|
|
|
LL | a
|
|
|
|
LL | multiline
|
|
|
|
LL | string
|
|
|
|
LL ~ ";
|
|
|
|
|
|
2023-07-02 12:35:19 +00:00
|
|
|
|
2023-08-27 13:55:55 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2023-07-02 12:35:19 +00:00
|
|
|
|