This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit d7216ba
authored
Rollup merge of rust-lang#83343 - osa1:issue83340, r=jackh726
Simplify and fix byte skipping in format! string parser
Fixes '\\' handling in format strings.
Fixes rust-lang#83340File tree
3 files changed
+25
-14
lines changed- compiler/rustc_parse_format/src
- src/test/ui/macros
3 files changed
+25
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
739 | 738 | | |
740 | 739 | | |
741 | 740 | | |
742 | 741 | | |
743 | 742 | | |
744 | 743 | | |
745 | | - | |
746 | 744 | | |
747 | 745 | | |
748 | 746 | | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
757 | 756 | | |
758 | 757 | | |
759 | 758 | | |
| |||
804 | 803 | | |
805 | 804 | | |
806 | 805 | | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | 806 | | |
812 | 807 | | |
813 | 808 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments