rustc_builtin_macros: make asm mod public for rustfmt
This commit is contained in:
parent
8ad3c1dd1d
commit
63c2edefda
2 changed files with 3 additions and 3 deletions
|
@ -809,7 +809,7 @@ fn expand_preparsed_asm(ecx: &mut ExtCtxt<'_>, args: AsmArgs) -> Option<ast::Inl
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn expand_asm<'cx>(
|
pub(super) fn expand_asm<'cx>(
|
||||||
ecx: &'cx mut ExtCtxt<'_>,
|
ecx: &'cx mut ExtCtxt<'_>,
|
||||||
sp: Span,
|
sp: Span,
|
||||||
tts: TokenStream,
|
tts: TokenStream,
|
||||||
|
@ -836,7 +836,7 @@ pub fn expand_asm<'cx>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn expand_global_asm<'cx>(
|
pub(super) fn expand_global_asm<'cx>(
|
||||||
ecx: &'cx mut ExtCtxt<'_>,
|
ecx: &'cx mut ExtCtxt<'_>,
|
||||||
sp: Span,
|
sp: Span,
|
||||||
tts: TokenStream,
|
tts: TokenStream,
|
||||||
|
|
|
@ -19,7 +19,6 @@ use rustc_expand::base::{MacroExpanderFn, ResolverExpand, SyntaxExtensionKind};
|
||||||
use rustc_expand::proc_macro::BangProcMacro;
|
use rustc_expand::proc_macro::BangProcMacro;
|
||||||
use rustc_span::symbol::sym;
|
use rustc_span::symbol::sym;
|
||||||
|
|
||||||
mod asm;
|
|
||||||
mod assert;
|
mod assert;
|
||||||
mod cfg;
|
mod cfg;
|
||||||
mod cfg_accessible;
|
mod cfg_accessible;
|
||||||
|
@ -42,6 +41,7 @@ mod test;
|
||||||
mod trace_macros;
|
mod trace_macros;
|
||||||
mod util;
|
mod util;
|
||||||
|
|
||||||
|
pub mod asm;
|
||||||
pub mod cmdline_attrs;
|
pub mod cmdline_attrs;
|
||||||
pub mod proc_macro_harness;
|
pub mod proc_macro_harness;
|
||||||
pub mod standard_library_imports;
|
pub mod standard_library_imports;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue