-
Notifications
You must be signed in to change notification settings - Fork 892
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue-5892: Type alias generic rewrite follows the same rule as trait
rewrite
- Loading branch information
1 parent
4489061
commit 2152473
Showing
3 changed files
with
80 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// rustfmt-style_edition: 2024 | ||
|
||
type AAAAAAAAAAAAA: | ||
BBBBBBBBBBBBBBB< | ||
CCCCCCCCCCCCCCCCC, | ||
DDDDDDDDDDDDDDDDD, | ||
EEEEEEEEEEEEEEEEE, | ||
FFFFFFFFFFFFFFFFF, | ||
GGGGGGGGGGGGGGGGG, | ||
HHHHHHHHHHHHHHHHH, | ||
IIIIIIIIIIIIIIIII, | ||
>; | ||
|
||
type AAAAAAAAAAAAA: | ||
BBBBBBBBBBBBBBB< | ||
CCCCCCCCCCCCCCCCC, | ||
DDDDDDDDDDDDDDDDD, | ||
EEEEEEEEEEEEEEEEE, | ||
FFFFFFFFFFFFFFFFF, | ||
GGGGGGGGGGGGGGGGG, | ||
HHHHHHHHHHHHHHHHH, | ||
IIIIIIIIIIIIIIIII, | ||
> + Eq | ||
+ PartialEq; | ||
|
||
// previous error: maximum length exceeded | ||
type SomeType: | ||
BBBBBBBBBBBBBBB<CCCCCCCCCCCCCCCCC, DDDDDDDDDDDDDDDDD, EEEEEEEEEEEEEEEEE, FFFFFFFFFFFFFFFFF> | ||
+ AAAAAAAAAAAAA; | ||
|
||
// previous error: maximum length exceeded | ||
type SomeType: | ||
BBBBBBBBBBBBBBB<CCCCCCCCCCCCCCCCC, DDDDDDDDDDDDDDDDD, EEEEEEEEEEEEEEEEE, FFFFFFFFFFFFFFFFF>; |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// rustfmt-style_edition: 2024 | ||
|
||
type AAAAAAAAAAAAA: | ||
BBBBBBBBBBBBBBB< | ||
CCCCCCCCCCCCCCCCC, | ||
DDDDDDDDDDDDDDDDD, | ||
EEEEEEEEEEEEEEEEE, | ||
FFFFFFFFFFFFFFFFF, | ||
GGGGGGGGGGGGGGGGG, | ||
HHHHHHHHHHHHHHHHH, | ||
IIIIIIIIIIIIIIIII, | ||
>; | ||
|
||
type AAAAAAAAAAAAA: | ||
BBBBBBBBBBBBBBB< | ||
CCCCCCCCCCCCCCCCC, | ||
DDDDDDDDDDDDDDDDD, | ||
EEEEEEEEEEEEEEEEE, | ||
FFFFFFFFFFFFFFFFF, | ||
GGGGGGGGGGGGGGGGG, | ||
HHHHHHHHHHHHHHHHH, | ||
IIIIIIIIIIIIIIIII, | ||
> + Eq | ||
+ PartialEq; | ||
|
||
// previous error: maximum length exceeded | ||
type SomeType: | ||
BBBBBBBBBBBBBBB<CCCCCCCCCCCCCCCCC, DDDDDDDDDDDDDDDDD, EEEEEEEEEEEEEEEEE, FFFFFFFFFFFFFFFFF> | ||
+ AAAAAAAAAAAAA; | ||
|
||
// previous error: maximum length exceeded | ||
type SomeType: | ||
BBBBBBBBBBBBBBB<CCCCCCCCCCCCCCCCC, DDDDDDDDDDDDDDDDD, EEEEEEEEEEEEEEEEE, FFFFFFFFFFFFFFFFF>; |