]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generator/no-arguments-on-generators.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / generator / no-arguments-on-generators.stderr
1 error[E0628]: generators cannot have explicit arguments
2 --> $DIR/no-arguments-on-generators.rs:14:15
3 |
4 LL | let gen = |start| { //~ ERROR generators cannot have explicit arguments
5 | ^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0628`.