mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
9 lines
257 B
Plaintext
9 lines
257 B
Plaintext
error: expected one of `#`, `async`, `const`, `default`, `extern`, `fn`, `pub`, `safe`, `unsafe`, or `use`, found `gen`
|
|
--> $DIR/gen_fn.rs:4:1
|
|
|
|
|
LL | gen fn foo() {}
|
|
| ^^^ expected one of 10 possible tokens
|
|
|
|
error: aborting due to 1 previous error
|
|
|