mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
248 B
Plaintext
9 lines
248 B
Plaintext
error: expected one of `#`, `async`, `const`, `default`, `extern`, `fn`, `pub`, `unsafe`, or `use`, found `gen`
|
|
--> $DIR/gen_fn.rs:4:1
|
|
|
|
|
LL | gen fn foo() {}
|
|
| ^^^ expected one of 9 possible tokens
|
|
|
|
error: aborting due to 1 previous error
|
|
|