]> git.lizzy.rs Git - rust.git/commit
Fix the strip-hidden `ImplStripper`
authormitaa <mitaa.ceb@gmail.com>
Mon, 18 Apr 2016 15:32:00 +0000 (17:32 +0200)
committermitaa <mitaa.ceb@gmail.com>
Mon, 18 Apr 2016 15:32:00 +0000 (17:32 +0200)
commit574450a413a093d3ab97f8636f1c8f65e76bf1fb
tree8d17057a760f740dcd40c034709c443dd31b97be
parent63760acf31e605c8a91bb5cbcbcb4bfb95435e48
Fix the strip-hidden `ImplStripper`

Instead of stripping impls which reference *stripped* items, we keep impls
which reference *retained* items. We do this because when we strip an
item we immediately return, and do not recurse into it - leaving the
contained items non-stripped from the point of view of the `ImplStripper`.
src/librustdoc/passes.rs
src/test/rustdoc/issue-33069.rs [new file with mode: 0644]