1
Fork 0
rust/src/test/ui/rfc-2632-const-trait-impl/const_closures/gate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
83 B
Rust
Raw Normal View History

2022-12-21 14:51:02 +00:00
fn main() {
(const || {})();
//~^ ERROR: const closures are experimental
}