rust/tests/ui/generator/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

#![feature(generators)]
fn main() {
|(), ()| {
//~^ error: too many parameters for a generator
yield;
};
}