@@ -926,16 +926,8 @@ help: add missing generic arguments
926926LL | type C = HashMap<'static, K, V>;
927927 | ++++++
928928
929- error[E0107]: struct takes at most 3 generic arguments but 4 generic arguments were supplied
930- --> $DIR/wrong-number-of-args.rs:324:18
931- |
932- LL | type D = HashMap<usize, String, char, f64>;
933- | ^^^^^^^ ----- help: remove the unnecessary generic argument
934- | |
935- | expected at most 3 generic arguments
936-
937929error[E0107]: struct takes at least 2 generic arguments but 0 generic arguments were supplied
938- --> $DIR/wrong-number-of-args.rs:328 :18
930+ --> $DIR/wrong-number-of-args.rs:324 :18
939931 |
940932LL | type E = HashMap<>;
941933 | ^^^^^^^ expected at least 2 generic arguments
@@ -946,7 +938,7 @@ LL | type E = HashMap<K, V>;
946938 | ++++
947939
948940error[E0107]: missing generics for enum `Result`
949- --> $DIR/wrong-number-of-args.rs:334 :18
941+ --> $DIR/wrong-number-of-args.rs:330 :18
950942 |
951943LL | type A = Result;
952944 | ^^^^^^ expected 2 generic arguments
@@ -957,7 +949,7 @@ LL | type A = Result<T, E>;
957949 | ++++++
958950
959951error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
960- --> $DIR/wrong-number-of-args.rs:338 :18
952+ --> $DIR/wrong-number-of-args.rs:334 :18
961953 |
962954LL | type B = Result<String>;
963955 | ^^^^^^ ------ supplied 1 generic argument
@@ -970,15 +962,15 @@ LL | type B = Result<String, E>;
970962 | +++
971963
972964error[E0107]: enum takes 0 lifetime arguments but 1 lifetime argument was supplied
973- --> $DIR/wrong-number-of-args.rs:342 :18
965+ --> $DIR/wrong-number-of-args.rs:338 :18
974966 |
975967LL | type C = Result<'static>;
976968 | ^^^^^^--------- help: remove the unnecessary generics
977969 | |
978970 | expected 0 lifetime arguments
979971
980972error[E0107]: enum takes 2 generic arguments but 0 generic arguments were supplied
981- --> $DIR/wrong-number-of-args.rs:342 :18
973+ --> $DIR/wrong-number-of-args.rs:338 :18
982974 |
983975LL | type C = Result<'static>;
984976 | ^^^^^^ expected 2 generic arguments
@@ -989,15 +981,15 @@ LL | type C = Result<'static, T, E>;
989981 | ++++++
990982
991983error[E0107]: enum takes 2 generic arguments but 3 generic arguments were supplied
992- --> $DIR/wrong-number-of-args.rs:348 :18
984+ --> $DIR/wrong-number-of-args.rs:344 :18
993985 |
994986LL | type D = Result<usize, String, char>;
995987 | ^^^^^^ ------ help: remove the unnecessary generic argument
996988 | |
997989 | expected 2 generic arguments
998990
999991error[E0107]: enum takes 2 generic arguments but 0 generic arguments were supplied
1000- --> $DIR/wrong-number-of-args.rs:352 :18
992+ --> $DIR/wrong-number-of-args.rs:348 :18
1001993 |
1002994LL | type E = Result<>;
1003995 | ^^^^^^ expected 2 generic arguments
@@ -1007,7 +999,7 @@ help: add missing generic arguments
1007999LL | type E = Result<T, E>;
10081000 | ++++
10091001
1010- error: aborting due to 71 previous errors
1002+ error: aborting due to 70 previous errors
10111003
10121004Some errors have detailed explanations: E0106, E0107.
10131005For more information about an error, try `rustc --explain E0106`.
0 commit comments