]> git.lizzy.rs Git - rust.git/commit
auto merge of #13647 : alexcrichton/rust/issue-13641, r=pcwalton
authorbors <bors@rust-lang.org>
Sun, 20 Apr 2014 23:26:26 +0000 (16:26 -0700)
committerbors <bors@rust-lang.org>
Sun, 20 Apr 2014 23:26:26 +0000 (16:26 -0700)
commit30348f46757ad0e68f69eccd31e5de345a010ac0
tree0d1161336d780696be75017fcd8bb52bec154a50
parent97dd72620002ff8476ff62d425eb730fdef513a1
parentc33cedf35918dd1da0a6e41ea7bac8f43f90c484
auto merge of #13647 : alexcrichton/rust/issue-13641, r=pcwalton

This gives a better NOTE error message when a privacy error is encountered with
a static method. Previously no note was emitted (due to lack of support), but
now a note is emitted indicating that the struct/enum itself is private.

Closes #13641
src/librustc/middle/privacy.rs