Fix UI tests
This commit is contained in:
parent
4b5f330c70
commit
a47038f551
2 changed files with 2 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
error[E0628]: generators cannot have explicit arguments
|
||||
error[E0625]: generators cannot have explicit arguments
|
||||
--> $DIR/no-arguments-on-generators.rs:14:15
|
||||
|
|
||||
14 | let gen = |start| { //~ ERROR generators cannot have explicit arguments
|
||||
|
|
|
|||
|
|
@ -1,11 +1,3 @@
|
|||
error[E0626]: borrow may still be in use when generator yields
|
||||
--> $DIR/yield-while-local-borrowed.rs:22:18
|
||||
|
|
||||
22 | let a = &3; //~ ERROR
|
||||
| ^
|
||||
23 | yield();
|
||||
| ------- possible yield occurs here
|
||||
|
||||
error[E0626]: borrow may still be in use when generator yields
|
||||
--> $DIR/yield-while-local-borrowed.rs:48:22
|
||||
|
|
||||
|
|
@ -14,5 +6,5 @@ error[E0626]: borrow may still be in use when generator yields
|
|||
49 | yield();
|
||||
| ------- possible yield occurs here
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue