Choose another error code

This commit is contained in:
Alex Crichton 2017-08-14 19:38:32 -07:00
parent 1413253a41
commit 22ebcaca16
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
error[E0625]: generators cannot have explicit arguments
error[E0628]: generators cannot have explicit arguments
--> $DIR/no-arguments-on-generators.rs:14:15
|
14 | let gen = |start| { //~ ERROR generators cannot have explicit arguments