rust/tests/ui/coroutine/too-many-parameters.rs

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

9 lines
132 B
Rust
Raw Normal View History

2023-10-19 16:46:28 -05:00
#![feature(coroutines)]
fn main() {
|(), ()| {
2023-10-19 16:46:28 -05:00
//~^ error: too many parameters for a coroutine
yield;
};
}