rust/tests/ui/rfcs/rfc-2632-const-trait-impl/call.rs

11 lines
162 B
Rust
Raw Normal View History

2022-12-21 10:32:16 -06:00
// check-pass
#![feature(const_closures, const_trait_impl)]
#![allow(incomplete_features)]
pub const _: () = {
assert!((const || true)());
};
fn main() {}