Make non-pub condition! expand to non-pub mod. Fix #6009.
This commit is contained in:
parent
83e19d2ead
commit
6fbb64acbe
@ -909,8 +909,7 @@ pub mod $c {
|
||||
|
||||
{ $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…
Reference in New Issue
Block a user