Fix private module loophole in the 'private type in public item' check
This commit is contained in:
parent
ea8b82e90c
commit
46aa621452
13 changed files with 76 additions and 65 deletions
|
|
@ -736,8 +736,8 @@ mod opt {
|
|||
use getopts;
|
||||
use super::RustcOptGroup;
|
||||
|
||||
type R = RustcOptGroup;
|
||||
type S<'a> = &'a str;
|
||||
pub type R = RustcOptGroup;
|
||||
pub type S<'a> = &'a str;
|
||||
|
||||
fn stable(g: getopts::OptGroup) -> R { RustcOptGroup::stable(g) }
|
||||
fn unstable(g: getopts::OptGroup) -> R { RustcOptGroup::unstable(g) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue