Commit 15b9e20
authored
Rollup merge of rust-lang#105500 - oli-obk:unhide_unknown_spans, r=estebank
Make some diagnostics not depend on the source of what they reference being available
r? `@estebank`
follow up to rust-lang#104449File tree
246 files changed
+381
-1666
lines changed- compiler
- rustc_borrowck/src/diagnostics
- rustc_const_eval/src/util
- rustc_errors/src
- rustc_hir_typeck/src/method
- rustc_metadata/src/rmeta
- rustc_privacy/src
- rustc_trait_selection/src/traits/error_reporting
- src
- test
- ui-fulldeps/session-diagnostic
- ui
- alloc-error
- associated-type-bounds
- associated-types
- async-await
- issues
- binop
- borrowck
- box
- c-variadic
- chalkify/bugs
- closures
- codemap_tests
- const-generics
- generic_arg_infer
- generic_const_exprs
- const-ptr
- consts
- extra-const-ub
- miri_unleashed
- derives
- deriving
- destructuring-assignment
- dst
- error-codes
- expr/malformed_closure
- feature-gates
- fmt
- generator
- generics
- impl-trait
- in-trait
- issues
- imports
- inference
- interior-mutability
- intrinsics
- issues
- iterators
- lazy-type-alias-impl-trait
- limits
- lint
- loops
- macros
- malformed
- methods
- mismatched_types
- moves
- never_type
- on-unimplemented
- or-patterns
- overloaded
- parser
- issues
- pattern
- usefulness
- privacy
- proc-macro
- range
- recursion
- resolve
- rfc-1937-termination-trait
- rfc-2361-dbg-macro
- span
- specialization/defaultimpl
- stability-attribute
- str
- suggestions
- traits
- alias
- associated_type_bound
- suggest-deferences
- transmutability
- tuple
- typeck
- type
- ascription
- ufcs
- unboxed-closures
- uninhabited
- union
- unsized-locals
- use
- wf
- tools/compiletest/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
246 files changed
+381
-1666
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
| 1062 | + | |
1068 | 1063 | | |
1069 | 1064 | | |
1070 | 1065 | | |
1071 | 1066 | | |
1072 | | - | |
| 1067 | + | |
1073 | 1068 | | |
1074 | 1069 | | |
1075 | 1070 | | |
| |||
1139 | 1134 | | |
1140 | 1135 | | |
1141 | 1136 | | |
| 1137 | + | |
1142 | 1138 | | |
1143 | 1139 | | |
1144 | 1140 | | |
| 1141 | + | |
1145 | 1142 | | |
1146 | 1143 | | |
1147 | | - | |
| 1144 | + | |
1148 | 1145 | | |
1149 | 1146 | | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1150 | 1158 | | |
1151 | 1159 | | |
1152 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 134 | + | |
147 | 135 | | |
148 | 136 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1408 | 1408 | | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | | - | |
| 1411 | + | |
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1427 | 1441 | | |
1428 | 1442 | | |
1429 | 1443 | | |
1430 | 1444 | | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
1453 | 1460 | | |
| 1461 | + | |
| 1462 | + | |
1454 | 1463 | | |
1455 | 1464 | | |
1456 | 1465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1853 | 1853 | | |
1854 | 1854 | | |
1855 | 1855 | | |
1856 | | - | |
| 1856 | + | |
1857 | 1857 | | |
1858 | 1858 | | |
1859 | 1859 | | |
| |||
1892 | 1892 | | |
1893 | 1893 | | |
1894 | 1894 | | |
1895 | | - | |
| 1895 | + | |
1896 | 1896 | | |
1897 | 1897 | | |
1898 | | - | |
| 1898 | + | |
1899 | 1899 | | |
1900 | 1900 | | |
1901 | 1901 | | |
| |||
1918 | 1918 | | |
1919 | 1919 | | |
1920 | 1920 | | |
1921 | | - | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
1922 | 1935 | | |
1923 | 1936 | | |
1924 | | - | |
| 1937 | + | |
1925 | 1938 | | |
1926 | 1939 | | |
1927 | 1940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
1537 | 1539 | | |
1538 | 1540 | | |
1539 | 1541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1316 | 1314 | | |
| 1315 | + | |
1317 | 1316 | | |
1318 | 1317 | | |
1319 | 1318 | | |
| 1319 | + | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
| |||
Lines changed: 11 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2179 | 2179 | | |
2180 | 2180 | | |
2181 | 2181 | | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
2185 | | - | |
2186 | | - | |
2187 | | - | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
2191 | 2191 | | |
2192 | 2192 | | |
2193 | 2193 | | |
| |||
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
2215 | | - | |
2216 | | - | |
2217 | 2215 | | |
2218 | 2216 | | |
2219 | 2217 | | |
2220 | 2218 | | |
2221 | | - | |
2222 | | - | |
2223 | | - | |
2224 | | - | |
2225 | | - | |
| 2219 | + | |
2226 | 2220 | | |
2227 | 2221 | | |
2228 | 2222 | | |
| |||
2231 | 2225 | | |
2232 | 2226 | | |
2233 | 2227 | | |
2234 | | - | |
2235 | | - | |
2236 | | - | |
2237 | | - | |
2238 | | - | |
| 2228 | + | |
2239 | 2229 | | |
2240 | 2230 | | |
2241 | 2231 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
| 663 | + | |
667 | 664 | | |
668 | 665 | | |
669 | 666 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
| |||
0 commit comments