summaryrefslogtreecommitdiffstats
path: root/tests/ui/static/static-closures.rs
blob: 1bd518d6ffeceb732413dd90c5083246473898f6 (plain)
1
2
3
4
fn main() {
    static || {};
    //~^ ERROR closures cannot be static
}