1
Fork 0

rustc_builtin_macros: make asm mod public for rustfmt

This commit is contained in:
Caleb Cartwright 2021-12-20 22:05:17 -06:00
parent 8ad3c1dd1d
commit 63c2edefda
2 changed files with 3 additions and 3 deletions

View file

@ -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<'_>,
sp: Span,
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<'_>,
sp: Span,
tts: TokenStream,