//@ known-bug: #118778 //@ edition:2021 //@ needs-rustc-debug-assertions #![feature(generic_const_exprs)] #![allow(incomplete_features)] trait Owner { type T; } impl Owner for () { type T = U32<{ N + 1 }> where U32<{ N + 1 }>:; } struct U32; fn take1(_: impl Owner = U32<1>>) {} fn main() { take1(()); }