Add FIXME comments about asm and format_args ast_pretty.

This commit is contained in:
Mara Bos 2023-01-12 19:59:03 +01:00
parent 298e160dc8
commit 0a1934a32c

View File

@ -527,10 +527,12 @@ impl<'a> State<'a> {
} }
} }
ast::ExprKind::InlineAsm(a) => { ast::ExprKind::InlineAsm(a) => {
// FIXME: This should have its own syntax, distinct from a macro invocation.
self.word("asm!"); self.word("asm!");
self.print_inline_asm(a); self.print_inline_asm(a);
} }
ast::ExprKind::FormatArgs(fmt) => { ast::ExprKind::FormatArgs(fmt) => {
// FIXME: This should have its own syntax, distinct from a macro invocation.
self.word("format_args!"); self.word("format_args!");
self.popen(); self.popen();
self.rbox(0, Inconsistent); self.rbox(0, Inconsistent);