Skip to content

Commit 0a1934a

Browse files
committed
Add FIXME comments about asm and format_args ast_pretty.
1 parent 298e160 commit 0a1934a

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_ast_pretty/src/pprust/state

1 file changed

+2
-0
lines changed

compiler/rustc_ast_pretty/src/pprust/state/expr.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,12 @@ impl<'a> State<'a> {
527527
}
528528
}
529529
ast::ExprKind::InlineAsm(a) => {
530+
// FIXME: This should have its own syntax, distinct from a macro invocation.
530531
self.word("asm!");
531532
self.print_inline_asm(a);
532533
}
533534
ast::ExprKind::FormatArgs(fmt) => {
535+
// FIXME: This should have its own syntax, distinct from a macro invocation.
534536
self.word("format_args!");
535537
self.popen();
536538
self.rbox(0, Inconsistent);

0 commit comments

Comments
 (0)