mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Update stderr file
This commit is contained in:
parent
3740da203b
commit
0c6483bf21
1 changed files with 5 additions and 2 deletions
|
@ -5,9 +5,10 @@ error: if expression with an `else if`, but without a final `else`
|
|||
| ____________^
|
||||
52 | | println!("else if");
|
||||
53 | | }
|
||||
| |_____^ help: add an `else` block here
|
||||
| |_____^
|
||||
|
|
||||
= note: `-D clippy::else-if-without-else` implied by `-D warnings`
|
||||
= help: add an `else` block here
|
||||
|
||||
error: if expression with an `else if`, but without a final `else`
|
||||
--> $DIR/else_if_without_else.rs:59:12
|
||||
|
@ -16,7 +17,9 @@ error: if expression with an `else if`, but without a final `else`
|
|||
| ____________^
|
||||
60 | | println!("else if 2");
|
||||
61 | | }
|
||||
| |_____^ help: add an `else` block here
|
||||
| |_____^
|
||||
|
|
||||
= help: add an `else` block here
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
Loading…
Reference in a new issue