This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit c2d9af6
authored
Rollup merge of rust-lang#76846 - botika:master, r=davidtwco
Avoiding unnecesary allocations at rustc_errors
Simplify the code avoiding allocations with easy alternative2 files changed
+13
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
1234 | | - | |
| 1230 | + | |
| 1231 | + | |
1235 | 1232 | | |
1236 | 1233 | | |
1237 | 1234 | | |
1238 | | - | |
1239 | 1235 | | |
1240 | | - | |
1241 | | - | |
| 1236 | + | |
| 1237 | + | |
1242 | 1238 | | |
1243 | 1239 | | |
1244 | 1240 | | |
1245 | 1241 | | |
1246 | 1242 | | |
1247 | 1243 | | |
1248 | 1244 | | |
1249 | | - | |
| 1245 | + | |
1250 | 1246 | | |
1251 | 1247 | | |
1252 | 1248 | | |
| |||
1548 | 1544 | | |
1549 | 1545 | | |
1550 | 1546 | | |
1551 | | - | |
1552 | | - | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1556 | 1550 | | |
1557 | 1551 | | |
1558 | 1552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
981 | 980 | | |
982 | 981 | | |
983 | 982 | | |
984 | | - | |
985 | | - | |
| 983 | + | |
986 | 984 | | |
987 | 985 | | |
988 | 986 | | |
| |||
0 commit comments