-
Couldn't load subscription status.
- Fork 13.9k
Rename emit_unless to emit_unless_delay
#144103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
HIR ty lowering was modified cc @fmease |
|
Not totally happy about the name of the function (though I don't have a better suggestion), but I do think that it should be fixed, so I'm fine with the rename for now. Though I also wish that people would read the docs of the functions they're using 😅 @bors r+ rollup |
|
Wait. #143280 was merge just now. I should rebase on it. |
|
@bors r- |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: xizheyin <[email protected]>
|
thanks @bors r+ |
Rollup of 10 pull requests Successful merges: - #141076 (fix Zip unsoundness (again)) - #142444 (adding run-make test to autodiff) - #143704 (Be a bit more careful around exotic cycles in in the inliner) - #144073 (Don't test panic=unwind in panic_main.rs on Fuchsia) - #144083 (miri sleep tests: increase slack) - #144092 (bootstrap: Detect musl hosts) - #144098 (Do not lint private-in-public for RPITIT) - #144103 (Rename `emit_unless` to `emit_unless_delay`) - #144108 (Ignore tests/run-make/link-eh-frame-terminator/rmake.rs when cross-compiling) - #144115 (fix outdated comment) r? `@ghost` `@rustbot` modify labels: rollup
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`
Rollup of 10 pull requests Successful merges: - rust-lang/rust#141076 (fix Zip unsoundness (again)) - rust-lang/rust#142444 (adding run-make test to autodiff) - rust-lang/rust#143704 (Be a bit more careful around exotic cycles in in the inliner) - rust-lang/rust#144073 (Don't test panic=unwind in panic_main.rs on Fuchsia) - rust-lang/rust#144083 (miri sleep tests: increase slack) - rust-lang/rust#144092 (bootstrap: Detect musl hosts) - rust-lang/rust#144098 (Do not lint private-in-public for RPITIT) - rust-lang/rust#144103 (Rename `emit_unless` to `emit_unless_delay`) - rust-lang/rust#144108 (Ignore tests/run-make/link-eh-frame-terminator/rmake.rs when cross-compiling) - rust-lang/rust#144115 (fix outdated comment) r? `@ghost` `@rustbot` modify labels: rollup
…rrors 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`
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#141076 (fix Zip unsoundness (again)) - rust-lang#142444 (adding run-make test to autodiff) - rust-lang#143704 (Be a bit more careful around exotic cycles in in the inliner) - rust-lang#144073 (Don't test panic=unwind in panic_main.rs on Fuchsia) - rust-lang#144083 (miri sleep tests: increase slack) - rust-lang#144092 (bootstrap: Detect musl hosts) - rust-lang#144098 (Do not lint private-in-public for RPITIT) - rust-lang#144103 (Rename `emit_unless` to `emit_unless_delay`) - rust-lang#144108 (Ignore tests/run-make/link-eh-frame-terminator/rmake.rs when cross-compiling) - rust-lang#144115 (fix outdated comment) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#141076 (fix Zip unsoundness (again)) - rust-lang#142444 (adding run-make test to autodiff) - rust-lang#143704 (Be a bit more careful around exotic cycles in in the inliner) - rust-lang#144073 (Don't test panic=unwind in panic_main.rs on Fuchsia) - rust-lang#144083 (miri sleep tests: increase slack) - rust-lang#144092 (bootstrap: Detect musl hosts) - rust-lang#144098 (Do not lint private-in-public for RPITIT) - rust-lang#144103 (Rename `emit_unless` to `emit_unless_delay`) - rust-lang#144108 (Ignore tests/run-make/link-eh-frame-terminator/rmake.rs when cross-compiling) - rust-lang#144115 (fix outdated comment) r? `@ghost` `@rustbot` modify labels: rollup
emit_unlessis 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_delayexpresses two things:delayparameter is truer? @compiler-errors