We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fn f<T>() { enum E { V(T) } } pub fn main() { f::<int>(); }
⇒ error: internal compiler error: fictitious type ty_param({idx: 0, def_id: {crate: 0, node: 1}}) in sizing_type_of()
fn f<T>() { struct S(T); } pub fn main() { f::<int>(); }
⇒ error: attempt to use a type argument out of scope