We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6210ac1 commit 2f3a0a5Copy full SHA for 2f3a0a5
src/parse/macros/asm.rs
@@ -1,14 +1,11 @@
1
use rustc_ast::ast;
2
-use rustc_builtin_macros::asm::{RawAsmArg, parse_raw_asm_args};
+use rustc_builtin_macros::asm::{AsmArg, parse_asm_args};
3
4
use crate::rewrite::RewriteContext;
5
6
#[allow(dead_code)]
7
-pub(crate) fn parse_asm(
8
- context: &RewriteContext<'_>,
9
- mac: &ast::MacCall,
10
-) -> Option<Vec<RawAsmArg>> {
+pub(crate) fn parse_asm(context: &RewriteContext<'_>, mac: &ast::MacCall) -> Option<Vec<AsmArg>> {
11
let ts = mac.args.tokens.clone();
12
let mut parser = super::build_parser(context, ts);
13
- parse_raw_asm_args(&mut parser, mac.span(), ast::AsmMacro::Asm).ok()
+ parse_asm_args(&mut parser, mac.span(), ast::AsmMacro::Asm).ok()
14
}
0 commit comments