-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix #53525 - Unify E0243, E0244, E0087, E0088, E0089, and E0090 into E0107 Fix #53525 This pr merges all errors related to too many or too few generic arguments in types and functions. E0243, E0244, E0087, E0088, E0089, E0090 errors will no longer be emitted and E0107 will be used instead.
- Loading branch information
Showing
46 changed files
with
127 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
error[E0090]: wrong number of lifetime arguments: expected 2, found 1 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 1 | ||
--> $DIR/constructor-lifetime-args.rs:27:5 | ||
| | ||
LL | S::<'static>(&0, &0); | ||
| ^^^^^^^^^^^^ expected 2 lifetime arguments | ||
|
||
error[E0088]: wrong number of lifetime arguments: expected 2, found 3 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 3 | ||
--> $DIR/constructor-lifetime-args.rs:29:27 | ||
| | ||
LL | S::<'static, 'static, 'static>(&0, &0); | ||
| ^^^^^^^ unexpected lifetime argument | ||
|
||
error[E0090]: wrong number of lifetime arguments: expected 2, found 1 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 1 | ||
--> $DIR/constructor-lifetime-args.rs:32:5 | ||
| | ||
LL | E::V::<'static>(&0); | ||
| ^^^^^^^^^^^^^^^ expected 2 lifetime arguments | ||
|
||
error[E0088]: wrong number of lifetime arguments: expected 2, found 3 | ||
error[E0107]: wrong number of lifetime arguments: expected 2, found 3 | ||
--> $DIR/constructor-lifetime-args.rs:34:30 | ||
| | ||
LL | E::V::<'static, 'static, 'static>(&0); | ||
| ^^^^^^^ unexpected lifetime argument | ||
|
||
error: aborting due to 4 previous errors | ||
|
||
Some errors occurred: E0088, E0090. | ||
For more information about an error, try `rustc --explain E0088`. | ||
For more information about this error, try `rustc --explain E0107`. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.