rustc_privacy: Fix bugs in SanePrivacyVisitor

This commit is contained in:
Vadim Petrochenkov 2015-11-09 21:15:53 +03:00
parent 5b4986fa57
commit ef6850643e
4 changed files with 161 additions and 77 deletions

View file

@ -74,6 +74,6 @@ for a `struct` or an `enum` works fine too:
struct Foo;
impl Foo {
pub const FOO: u32 = 3;
const FOO: u32 = 3;
}
```