]> git.lizzy.rs Git - rust.git/commit
Propagate reachability through reexported impls
authorAlex Crichton <alex@alexcrichton.com>
Mon, 21 Oct 2013 17:37:36 +0000 (10:37 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 21 Oct 2013 17:37:36 +0000 (10:37 -0700)
commita25bbcc27fcbddb005b3025086f87940937b7619
tree60d1008663a7c2b9d133b378b5b49a53da108c6d
parentebb9b461914347950592f9a2d4e53e324f2f1238
Propagate reachability through reexported impls

When re-exporting a trait/structure/enum, then we need to propagate the
reachability of the type through the methods that are defined on it.

Closes #9906
Closes #9968
src/librustc/middle/reachable.rs
src/test/auxiliary/issue-9906.rs [new file with mode: 0644]
src/test/auxiliary/issue-9968.rs [new file with mode: 0644]
src/test/run-pass/issue-9906.rs [new file with mode: 0644]
src/test/run-pass/issue-9968.rs [new file with mode: 0644]