about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-12-27 19:32:49 -0800
committerDavid Tolnay <dtolnay@gmail.com>2024-05-11 15:49:02 -0700
commitd9bb73331eff4bbcfb5610b96d2411ef751db20d (patch)
treeaecbbafcf7a58030c98962194f1e2d4cb1421723 /compiler/rustc_codegen_llvm/src/errors.rs
parent7f2ffbdbc6c0d5e1c7fabe0bef56ec49d10bfeab (diff)
downloadrust-d9bb73331eff4bbcfb5610b96d2411ef751db20d.tar.gz
rust-d9bb73331eff4bbcfb5610b96d2411ef751db20d.zip
Delete MacCall case from pretty-printing semicolon after StmtKind::Expr
I didn't figure out how to reach this condition with `expr` containing
`ExprKind::MacCall`. All the approaches I tried ended up with the macro
call ending up in the `StmtKind::MacCall` case below instead.

In any case, from visual inspection this is a bugfix. If we do end up
with a `StmtKind::Expr` containing `ExprKind::MacCall` with brace
delimiter, it would not need ";" printed after it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions