//@ known-bug: #116308 #![feature(adt_const_params)] pub trait Identity { type Identity; } impl Identity for T { type Identity = Self; } pub fn foo::Identity>() {} fn main() { foo::<12>(); }