mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
8cb6c86996
Update raw_strings.rs Revert "new lints for visibility" This reverts commit 0e5a537d209727169769dc19cf86aef27122c092. new lints for visibility
22 lines
539 B
Text
22 lines
539 B
Text
error: unnecessary raw string literal
|
|
--> $DIR/needless_raw_string.rs:7:5
|
|
|
|
|
LL | r#"aaa"#;
|
|
| ^^^^^^^^ help: try: `"aaa"`
|
|
|
|
|
= note: `-D clippy::needless-raw-strings` implied by `-D warnings`
|
|
|
|
error: unnecessary raw string literal
|
|
--> $DIR/needless_raw_string.rs:10:5
|
|
|
|
|
LL | br#"aaa"#;
|
|
| ^^^^^^^^^ help: try: `b"aaa"`
|
|
|
|
error: unnecessary raw string literal
|
|
--> $DIR/needless_raw_string.rs:13:5
|
|
|
|
|
LL | cr#"aaa"#;
|
|
| ^^^^^^^^^ help: try: `c"aaa"`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|