-
Notifications
You must be signed in to change notification settings - Fork 889
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 c801834
Showing
5 changed files
with
93 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,6 @@ tests/cargo-fmt/**/target | |
.idea/ | ||
.vscode/ | ||
*~ | ||
|
||
# nvim local dap settings | ||
.nvim-dap.lua |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// 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>; |