about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-19 08:55:37 +0200
committerGitHub <noreply@github.com>2025-07-19 08:55:37 +0200
commitbd23cd62f2d5aaf52d17c4052954643a7ec42b6e (patch)
tree5035c37a52774617f19fe4955c0a3fdab74e6843 /compiler/rustc_mir_transform/src
parent4b9471771bb23c0a39c8f3b62c756ac63ce7ac22 (diff)
parentc58e0bd09368a96dbde1ec1f30e36764e1431125 (diff)
downloadrust-bd23cd62f2d5aaf52d17c4052954643a7ec42b6e.tar.gz
rust-bd23cd62f2d5aaf52d17c4052954643a7ec42b6e.zip
Rollup merge of #144103 - xizheyin:emit-unless, r=compiler-errors
Rename `emit_unless` to `emit_unless_delay`

`emit_unless` is very unintuitive and confusing. The first impression is as if it will only emit if the parameter is true, without the altnative "delay as a bug".

`emit_unless_delay` expresses two things:
1. emit unless the `delay` parameter is true
2. either *emit immediately* or *delay as bug*

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions