summaryrefslogtreecommitdiffstats
path: root/tests/ui/tuple/wrong_argument_ice-4.rs
blob: 883d92dcce1437a26eaa95028a69e725f0419c48 (plain)
1
2
3
4
5
6
fn main() {
    (|| {})(|| {
        //~^ ERROR function takes 0 arguments but 1 argument was supplied
        let b = 1;
    });
}