diff options
| author | bors <bors@rust-lang.org> | 2025-08-09 23:27:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-08-09 23:27:55 +0000 |
| commit | 41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0 (patch) | |
| tree | a651adb8679dac8d84d44010df89c85ad15f5169 /compiler/rustc_parse/src/parser/asm.rs | |
| parent | ca77504943887037504c7fc0b9bf06dab3910373 (diff) | |
| parent | ad1113f87ef828b300ebb8fca397efd358580da3 (diff) | |
| download | rust-41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0.tar.gz rust-41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0.zip | |
Auto merge of #145146 - fee1-dead-contrib:push-zmqrkurlzrxy, r=nnethercote
remove `P` Previous work: rust-lang/rust#141603 MCP: https://github.com/rust-lang/compiler-team/issues/878 cc `@nnethercote`
Diffstat (limited to 'compiler/rustc_parse/src/parser/asm.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/asm.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/parser/asm.rs b/compiler/rustc_parse/src/parser/asm.rs index d4d0612a317..41c3b0f0b67 100644 --- a/compiler/rustc_parse/src/parser/asm.rs +++ b/compiler/rustc_parse/src/parser/asm.rs @@ -1,4 +1,3 @@ -use rustc_ast::ptr::P; use rustc_ast::{self as ast, AsmMacro}; use rustc_span::{Span, Symbol, kw}; @@ -14,7 +13,7 @@ pub struct AsmArg { } pub enum AsmArgKind { - Template(P<ast::Expr>), + Template(Box<ast::Expr>), Operand(Option<Symbol>, ast::InlineAsmOperand), Options(Vec<AsmOption>), ClobberAbi(Vec<(Symbol, Span)>), |
