From 0a1934a32c51609be92259dca32af394087989d3 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Thu, 12 Jan 2023 19:59:03 +0100 Subject: [PATCH] Add FIXME comments about asm and format_args ast_pretty. --- compiler/rustc_ast_pretty/src/pprust/state/expr.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/rustc_ast_pretty/src/pprust/state/expr.rs b/compiler/rustc_ast_pretty/src/pprust/state/expr.rs index 03beae3a45b..500dc9da8ae 100644 --- a/compiler/rustc_ast_pretty/src/pprust/state/expr.rs +++ b/compiler/rustc_ast_pretty/src/pprust/state/expr.rs @@ -527,10 +527,12 @@ impl<'a> State<'a> { } } ast::ExprKind::InlineAsm(a) => { + // FIXME: This should have its own syntax, distinct from a macro invocation. self.word("asm!"); self.print_inline_asm(a); } ast::ExprKind::FormatArgs(fmt) => { + // FIXME: This should have its own syntax, distinct from a macro invocation. self.word("format_args!"); self.popen(); self.rbox(0, Inconsistent);