rustc_privacy: Fix bugs in SanePrivacyVisitor
This commit is contained in:
parent
5b4986fa57
commit
ef6850643e
4 changed files with 161 additions and 77 deletions
|
|
@ -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;
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue