summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/gate.rs
blob: f2cd26c91b64076da72c486b3acdd3819ee77f0d (plain)
1
2
3
4
5
// gate-test-const_closures
fn main() {
    (const || {})();
    //~^ ERROR: const closures are experimental
}