//@ check-pass // Regression test for #133639. #![feature(with_negative_coherence)] #![feature(min_specialization)] #![feature(generic_const_exprs)] //~^ WARNING the feature `generic_const_exprs` is incomplete #![crate_type = "lib"] trait Trait {} struct A; trait C {} impl Trait for E where A<{ D <= 2 }>: C {} struct E; impl Trait for E where A<{ D <= 2 }>: C {}