mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
Update ui tests to latest rustc changes
This commit is contained in:
parent
299ffcab77
commit
f5f0273f53
3 changed files with 35 additions and 33 deletions
|
@ -24,13 +24,14 @@ error: this loop never actually loops
|
|||
error: this loop never actually loops
|
||||
--> $DIR/never_loop.rs:47:2
|
||||
|
|
||||
47 | / loop { // never loops
|
||||
47 | loop { // never loops
|
||||
| _____^
|
||||
48 | | while i == 0 { // never loops
|
||||
49 | | break
|
||||
50 | | }
|
||||
51 | | return
|
||||
52 | | }
|
||||
| |__^
|
||||
| |_____^
|
||||
|
||||
error: this loop never actually loops
|
||||
--> $DIR/never_loop.rs:48:9
|
||||
|
@ -43,11 +44,12 @@ error: this loop never actually loops
|
|||
error: this loop never actually loops
|
||||
--> $DIR/never_loop.rs:59:3
|
||||
|
|
||||
59 | / loop { // never loops
|
||||
59 | loop { // never loops
|
||||
| _________^
|
||||
60 | | if x == 5 { break }
|
||||
61 | | continue 'outer
|
||||
62 | | }
|
||||
| |___^
|
||||
| |_________^
|
||||
|
||||
error: this loop never actually loops
|
||||
--> $DIR/never_loop.rs:92:5
|
||||
|
|
Loading…
Reference in a new issue