]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #41332 - petrochenkov:privti, r=eddyb
authorbors <bors@rust-lang.org>
Tue, 25 Apr 2017 23:46:37 +0000 (23:46 +0000)
committerbors <bors@rust-lang.org>
Tue, 25 Apr 2017 23:46:37 +0000 (23:46 +0000)
Check privacy of trait items in all contexts

Fixes https://github.com/rust-lang/rust/issues/28514

This is a sufficiently rare scenario and it's currently guarded by `private_in_public` lint, so it shouldn't be a [breaking-change] in practice.


Trivial merge