rust/tests/ui/rfcs/rfc-2632-const-trait-impl/call.rs
2024-02-16 20:02:50 +00:00

11 lines
172 B
Rust

//@ check-pass
#![feature(const_closures, const_trait_impl, effects)]
#![allow(incomplete_features)]
pub const _: () = {
assert!((const || true)());
};
fn main() {}