about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-05-15 23:24:47 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-05-15 23:44:23 +0200
commitcf878d8f260e535fab7e6f6401fc61e5d846ac4d (patch)
tree0d5ad0b4e447c6281d96cccd3ce097b6a5653c38 /compiler/rustc_codegen_gcc
parentc4e05e53d19b550a358ee8b2e29ecd5a11075800 (diff)
downloadrust-cf878d8f260e535fab7e6f6401fc61e5d846ac4d.tar.gz
rust-cf878d8f260e535fab7e6f6401fc61e5d846ac4d.zip
HIR: explain in comment why `ExprKind::If` "then" is an `Expr`
One could be tempted to replace the "then" `hir::Expr` with kind
`hir::ExprKind::Block` by a `hir::Block`. Explain why this would not be
a good idea.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions