rust/tests/ui/coroutine/gen_fn.e2024.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
236 B
Plaintext
Raw Normal View History

error: `gen` functions are not yet implemented
--> $DIR/gen_fn.rs:4:1
|
LL | gen fn foo() {}
| ^^^
|
= help: for now you can use `gen {}` blocks and return `impl Iterator` instead
error: aborting due to 1 previous error