Make non-pub condition! expand to non-pub mod. Fix #6009.
This commit is contained in:
parent
83e19d2ead
commit
6fbb64acbe
1 changed files with 1 additions and 2 deletions
|
@ -909,8 +909,7 @@ pub fn std_macros() -> @str {
|
|||
|
||||
{ $c:ident: $input:ty -> $out:ty; } => {
|
||||
|
||||
// FIXME (#6009): remove mod's `pub` below once variant above lands.
|
||||
pub mod $c {
|
||||
mod $c {
|
||||
#[allow(unused_imports)];
|
||||
#[allow(non_uppercase_statics)];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue