]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
src/librustc/middle/privacy.rs

Simple merge