2024-11-01 18:49:08 +00:00
|
|
|
// FIXME(const_trait_impl) check-pass
|
2024-06-30 17:08:45 +00:00
|
|
|
//@ compile-flags: -Znext-solver
|
2024-10-30 18:03:44 +00:00
|
|
|
#![feature(const_closures, const_trait_impl)]
|
2022-12-21 16:32:16 +00:00
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
|
|
|
|
|
pub const _: () = {
|
|
|
|
|
assert!((const || true)());
|
2025-07-03 09:14:56 +00:00
|
|
|
//~^ ERROR }: [const] Fn()` is not satisfied
|
2022-12-21 16:32:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fn main() {}
|