diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2024-07-16 11:29:31 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2024-07-16 19:27:28 -0700 |
| commit | 7d7be2f0f63fffaae1fbe9ef29c52a7c47cd482c (patch) | |
| tree | ace1ff91fbaa49a0e0a61dfcc59d0bc8090f9ae5 /compiler/rustc_ast_lowering/src/asm.rs | |
| parent | 11b144aa984b697b8053311e9db56441b7c5b842 (diff) | |
| download | rust-7d7be2f0f63fffaae1fbe9ef29c52a7c47cd482c.tar.gz rust-7d7be2f0f63fffaae1fbe9ef29c52a7c47cd482c.zip | |
Setup ast_lowering functions for `ConstArg`
Diffstat (limited to 'compiler/rustc_ast_lowering/src/asm.rs')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/asm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_ast_lowering/src/asm.rs b/compiler/rustc_ast_lowering/src/asm.rs index 4d4a6fa8a60..269e045cf26 100644 --- a/compiler/rustc_ast_lowering/src/asm.rs +++ b/compiler/rustc_ast_lowering/src/asm.rs @@ -187,7 +187,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> { .emit(); } hir::InlineAsmOperand::Const { - anon_const: self.lower_anon_const(anon_const), + anon_const: self.lower_anon_const_to_anon_const(anon_const), } } InlineAsmOperand::Sym { sym } => { @@ -233,7 +233,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> { ); let anon_const = AnonConst { id: node_id, value: P(expr) }; hir::InlineAsmOperand::SymFn { - anon_const: self.lower_anon_const(&anon_const), + anon_const: self.lower_anon_const_to_anon_const(&anon_const), } } } |
