rust/tests/ui/traits/const-traits/call.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
204 B
Rust
Raw Normal View History

2022-12-21 10:32:16 -06:00
//@ check-pass
2024-06-30 12:08:45 -05:00
//@ compile-flags: -Znext-solver
2023-12-18 22:28:21 -06:00
#![feature(const_closures, const_trait_impl, effects)]
2022-12-21 10:32:16 -06:00
#![allow(incomplete_features)]
pub const _: () = {
assert!((const || true)());
};
fn main() {}