rust/tests/ui/traits/const-traits/call.rs
Michael Goulet e91267f3f0 Move tests
2024-10-22 00:03:09 +00:00

11 lines
204 B
Rust

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