]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/const_closures/call.rs
attempt to make a minimal example work
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / const_closures / call.rs
1 // check-pass
2
3 #![feature(const_closures, const_trait_impl)]
4 #![allow(incomplete_features)]
5
6 pub const _: () = {
7     assert!((const || true)());
8 };
9
10 fn main() {}