//@ known-bug: #140609 #![feature(with_negative_coherence)] #![feature(generic_const_exprs)] #![crate_type = "lib"] trait Trait {} struct A; trait C {} impl Trait for E where A<{ D <= 2 }>: FnOnce(&isize) {} struct E; impl Trait for E where A<{ D <= 2 }>: C {}