9 lines
132 B
Rust
9 lines
132 B
Rust
#![feature(coroutines)]
|
|
|
|
fn main() {
|
|
|(), ()| {
|
|
//~^ error: too many parameters for a coroutine
|
|
yield;
|
|
};
|
|
}
|