]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10862 : alexcrichton/rust/issue-10857, r=huonw
authorbors <bors@rust-lang.org>
Tue, 10 Dec 2013 08:41:36 +0000 (00:41 -0800)
committerbors <bors@rust-lang.org>
Tue, 10 Dec 2013 08:41:36 +0000 (00:41 -0800)
This bug showed up because the visitor only visited the path of the implemented
trait via walk_path (with no corresponding visit_path function). I have modified
the visitor to use visit_path (which is now overridable), and the privacy
visitor overrides this function and now properly checks for the privacy of all
paths.

Closes #10857


Trivial merge