mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
Merge fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// run-rustfix
|
||||
#![allow(clippy::match_single_binding)]
|
||||
|
||||
fn main() {
|
||||
println!();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// run-rustfix
|
||||
#![allow(clippy::match_single_binding)]
|
||||
|
||||
fn main() {
|
||||
println!();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: using `println!("")`
|
||||
--> $DIR/println_empty_string.rs:5:5
|
||||
--> $DIR/println_empty_string.rs:6:5
|
||||
|
|
||||
LL | println!("");
|
||||
| ^^^^^^^^^^^^ help: replace it with: `println!()`
|
||||
@@ -7,7 +7,7 @@ LL | println!("");
|
||||
= note: `-D clippy::println-empty-string` implied by `-D warnings`
|
||||
|
||||
error: using `println!("")`
|
||||
--> $DIR/println_empty_string.rs:8:14
|
||||
--> $DIR/println_empty_string.rs:9:14
|
||||
|
|
||||
LL | _ => println!(""),
|
||||
| ^^^^^^^^^^^^ help: replace it with: `println!()`
|
||||
|
||||
Reference in New Issue
Block a user