summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/too-many-parameters.rs
blob: 7a353ea298b26c5c7ce2ac24be6961678c7c32de (plain)
1
2
3
4
5
6
7
8
#![feature(generators)]

fn main() {
    |(), ()| {
        //~^ error: too many parameters for a generator
        yield;
    };
}