diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-11-11 00:21:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-11 00:21:11 +0100 |
| commit | 0e912b2c17aeb865dad2bb01eb8d50aa4a893f97 (patch) | |
| tree | 183f92093a82a01472ce3161ad8d1fc0ce863e30 /src/rustllvm/RustWrapper.cpp | |
| parent | 6e9b84296223126a0a59bde63a0f97011bb7b0f5 (diff) | |
| parent | 90a14389d1823e4b8dc4ee2e306dd953e1992e08 (diff) | |
| download | rust-0e912b2c17aeb865dad2bb01eb8d50aa4a893f97.tar.gz rust-0e912b2c17aeb865dad2bb01eb8d50aa4a893f97.zip | |
Rollup merge of #55687 - alexreg:fix-24010, r=scalexm
Take supertraits into account when calculating associated types Fixes #24010 and #23856. Applies to trait aliases too. As a by-product, this PR also makes repeated bindings of the same associated item in the same definition a hard error. This was previously a warning with a note about it becoming a hard error in the future. See #50589 for more info. I talked about this with @nikomatsakis recently, but only very superficially, so this shouldn't stop anyone from assigning it to themself to review and r+. N.B. The "WIP" commits represent imperfect attempts to solve the problem just for trait objects, but I've left them in for reference for the sake of whomever is reviewing this. CC @carllerche @theemathas @durka @mbrubeck
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
