Commit 26137fe
committed
Auto merge of #49039 - scottmcm:never-aliases, r=<try>
Replace uninhabited error enums in std with never
Luckily I only found two, and one of them isn't in beta yet, so can disappear completely 😎
Are there any others I forgot? (There are lots in things like liblibc and libstd/sys, but AFAIK those don't matter, nor do things like `btree::node::LeafOrInternal` or `str::pattern::RejectAndMatch`.)
The unstable `convert::Infallible` is being handled by #49038
4 files changed
+9
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2032 | 2032 | | |
2033 | 2033 | | |
2034 | 2034 | | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
2035 | 2039 | | |
2036 | 2040 | | |
2037 | 2041 | | |
2038 | 2042 | | |
2039 | 2043 | | |
2040 | 2044 | | |
2041 | 2045 | | |
| 2046 | + | |
2042 | 2047 | | |
2043 | 2048 | | |
2044 | 2049 | | |
2045 | 2050 | | |
2046 | | - | |
2047 | | - | |
| 2051 | + | |
2048 | 2052 | | |
2049 | 2053 | | |
2050 | 2054 | | |
| |||
2055 | 2059 | | |
2056 | 2060 | | |
2057 | 2061 | | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | | - | |
2069 | | - | |
2070 | | - | |
2071 | | - | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | | - | |
2079 | | - | |
2080 | | - | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
2089 | 2062 | | |
2090 | 2063 | | |
2091 | 2064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | 314 | | |
322 | 315 | | |
323 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1442 | 1442 | | |
1443 | 1443 | | |
1444 | 1444 | | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
1454 | | - | |
1455 | | - | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
| 1445 | + | |
1462 | 1446 | | |
1463 | 1447 | | |
1464 | | - | |
| 1448 | + | |
1465 | 1449 | | |
1466 | 1450 | | |
1467 | 1451 | | |
| |||
0 commit comments