1 You tried to provide a generic argument to a type which doesn't need it.
3 Erroneous code example:
6 type X = u32<i32>; // error: type arguments are not allowed for this type
7 type Y = bool<'static>; // error: lifetime parameters are not allowed on
11 Check that you used the correct argument and that the definition is correct.
20 Note that generic arguments for enum variant constructors go after the variant,
21 not after the enum. For example, you would write `Option::None::<u32>`,
22 rather than `Option::<u32>::None`.