rust/tests/ui/rfc-2632-const-trait-impl/call.rs
2023-01-12 04:20:00 +00:00

11 lines
162 B
Rust

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