Update ui tests to latest rustc changes

This commit is contained in:
Oliver Schneider 2017-12-07 11:20:48 +01:00
parent 299ffcab77
commit f5f0273f53
No known key found for this signature in database
GPG key ID: A69F8D225B3AD7D9
3 changed files with 35 additions and 33 deletions

View file

@ -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