Commit 5f43767
committed
Rollup merge of rust-lang#33572 - nagisa:assoc-const-types, r=eddyb
Support references to outer type params for assoc consts
Fixes rust-lang#28809
r? @eddybFile tree
4 files changed
+26
-24
lines changed- src
- librustc_resolve
- librustc_typeck/check
- librustc/ty
- test/run-pass
4 files changed
+26
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
| 1263 | + | |
1264 | 1264 | | |
1265 | 1265 | | |
1266 | 1266 | | |
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | 1275 | | |
1285 | 1276 | | |
1286 | 1277 | | |
| |||
1303 | 1294 | | |
1304 | 1295 | | |
1305 | 1296 | | |
1306 | | - | |
| 1297 | + | |
1307 | 1298 | | |
1308 | 1299 | | |
1309 | 1300 | | |
| |||
1315 | 1306 | | |
1316 | 1307 | | |
1317 | 1308 | | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | 1309 | | |
1328 | 1310 | | |
1329 | 1311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1949 | 1949 | | |
1950 | 1950 | | |
1951 | 1951 | | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
| 1952 | + | |
1955 | 1953 | | |
1956 | 1954 | | |
1957 | 1955 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | | - | |
| 1154 | + | |
| 1155 | + | |
1155 | 1156 | | |
1156 | 1157 | | |
1157 | 1158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments