rust/tests/ui/rfcs/rfc-2632-const-trait-impl/effects/with-without-next-solver.rs

11 lines
300 B
Rust

// test that we error correctly when effects is used without the next-solver flag.
//@ revisions: stock coherence full
//@[coherence] compile-flags: -Znext-solver=coherence
//@[full] compile-flags: -Znext-solver
//@[full] check-pass
#![feature(effects)]
#![allow(incomplete_features)]
fn main() {}