Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expand: Preserve order of inert attributes during expansion
- Loading branch information
1 parent
c02d210
commit fc9d578
Showing
5 changed files
with
55 additions
and
57 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,7 +1,7 @@ | ||
PRINT-ATTR INPUT (DISPLAY): /// 1 | ||
#[doc = "3"] #[doc = "4"] #[rustfmt :: attr5] /// 6 | ||
#[print_attr(nodebug)] #[rustfmt :: attr2] struct S ; | ||
PRINT-ATTR RE-COLLECTED (DISPLAY): #[doc = " 1"] #[doc = "3"] #[doc = "4"] #[rustfmt :: attr5] #[doc = " 6"] | ||
#[print_attr(nodebug)] #[rustfmt :: attr2] struct S ; | ||
PRINT-ATTR INPUT (DISPLAY): #[doc = " 1"] #[doc = "3"] #[doc = "4"] #[doc = " 6"] #[rustfmt :: attr2] | ||
#[rustfmt :: attr5] struct S ; | ||
#[rustfmt :: attr2] #[doc = "3"] #[doc = "4"] #[rustfmt :: attr5] /// 6 | ||
#[print_attr(nodebug)] struct S ; | ||
PRINT-ATTR RE-COLLECTED (DISPLAY): #[doc = " 1"] #[rustfmt :: attr2] #[doc = "3"] #[doc = "4"] | ||
#[rustfmt :: attr5] #[doc = " 6"] #[print_attr(nodebug)] struct S ; | ||
PRINT-ATTR INPUT (DISPLAY): #[doc = " 1"] #[rustfmt :: attr2] #[doc = "3"] #[doc = "4"] | ||
#[rustfmt :: attr5] #[doc = " 6"] struct S ; |
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