Commit d3fee34
authored
Rollup merge of #48497 - scottmcm:more-restricted-termination, r=nikomatsakis
Restrict the Termination impls to simplify stabilization
Make a minimal commitment in preparation for stabilization. More impls, or broader ones, are likely in future, but are not necessary at this time and are more controversial.
cc #48453 (comment)
r? @nikomatsakisFile tree
2 files changed
+23
-8
lines changed- src
- libstd
- test/run-pass/rfc-1937-termination-trait
2 files changed
+23
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
1083 | 1092 | | |
1084 | 1093 | | |
1085 | 1094 | | |
| |||
1428 | 1437 | | |
1429 | 1438 | | |
1430 | 1439 | | |
1431 | | - | |
| 1440 | + | |
1432 | 1441 | | |
1433 | 1442 | | |
1434 | 1443 | | |
| |||
1442 | 1451 | | |
1443 | 1452 | | |
1444 | 1453 | | |
1445 | | - | |
| 1454 | + | |
1446 | 1455 | | |
1447 | 1456 | | |
1448 | 1457 | | |
1449 | | - | |
| 1458 | + | |
1450 | 1459 | | |
1451 | | - | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1452 | 1463 | | |
1453 | 1464 | | |
1454 | 1465 | | |
1455 | 1466 | | |
1456 | | - | |
| 1467 | + | |
1457 | 1468 | | |
1458 | | - | |
| 1469 | + | |
| 1470 | + | |
1459 | 1471 | | |
1460 | 1472 | | |
1461 | 1473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
0 commit comments