//@ known-bug: rust-lang/rust#125772 //@ only-x86_64 #![feature(generic_const_exprs)] struct Outer(); impl Outer where [(); A + (B * 2)]:, { fn i() -> Self { Self } } fn main() { Outer::<1, 1>::o(); }