diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-03-12 10:44:56 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-03-18 16:47:24 +1300 |
| commit | 46aa621452b591e5c504fd85dfe514b92c49c228 (patch) | |
| tree | 47d070831f78420310ab3418baa5ff91b98a0010 /src/librustc/session | |
| parent | ea8b82e90c450febb1f26a07862a1ec89c22addd (diff) | |
| download | rust-46aa621452b591e5c504fd85dfe514b92c49c228.tar.gz rust-46aa621452b591e5c504fd85dfe514b92c49c228.zip | |
Fix private module loophole in the 'private type in public item' check
Diffstat (limited to 'src/librustc/session')
| -rw-r--r-- | src/librustc/session/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index 1b09be05020..e368a669133 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -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) } |
