Closed
Description
Given the code:
fn too_many_type_params() -> Option<i64, i64> {
None
}
rustc reports:
error[E0244]: wrong number of type arguments
--> <anon>:1:30
|
1 | fn too_many_type_params() -> Option<i64, i64> {
| ^^^^^^^^^^^^^^^^ expected 1 type arguments, found 2
Ideally error messages would use correct plurals, so 'expected 1 type argument, found 2' in this case.