Uh oh!
There was an error while loading. Please reload this page.
Warn unused type aliases - #37631
Conversation
rust-highfive
commented
Nov 7, 2016
r? @Aatch (rust_highfive has picked a reviewer for you, use r? to override) |
petrochenkov
commented
Nov 7, 2016
r? @eddyb |
eddyb
commented
Nov 7, 2016
What's the motivation between the changes to how path resolutions are stored? |
sanxiyn
commented
Nov 8, 2016
The motivation is to read partial resolution after it is overwritten by full resolution in It can be achieved by simply keeping a copy of |
eddyb
commented
Nov 8, 2016
@sanxiyn Ah this is completely unnecessary on my branch, which has a separate HIR node for the original resolution (i.e. the |
sanxiyn
commented
Nov 8, 2016
Sure. It would be much better if I can get the original resolution directly from HIR node without maintaining the side table. Thanks. |
eddyb
commented
Nov 9, 2016
brson
commented
Nov 11, 2016
Nice fix. |
Remove unused type aliases Found by rust-lang/rust#37631 and necessary to land because of cargotest.
bors
commented
Nov 17, 2016
☔ The latest upstream changes (presumably #37732) made this pull request unmergeable. Please resolve the merge conflicts. |
41e0b5a to
6c3af17Compare6c3af17 to
2f858e7Comparebors
commented
Nov 28, 2016
☔ The latest upstream changes (presumably #37676) made this pull request unmergeable. Please resolve the merge conflicts. |
eddyb
commented
Nov 28, 2016
Sorry for the delay but this should be straight-forward now. |
petrochenkov
commented
Dec 16, 2016
Should this be closed? |
sanxiyn
commented
Dec 17, 2016
I will close this when the reimplementation lands. |
The interesting part (type aliases used by UFCS) is already tested by
issue-23808.rs. But it only tests used type aliases are not warned, so I added a simple test to test unused type aliases are warned.Fix#37455.