-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 8 pull requests #89696
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
Rollup of 8 pull requests #89696
Conversation
According to the release notes and its PR milestone, it was stabilized in 1.56.0.
This commit changes the `tracing_subscriber` initialization in `rustc_driver` so that the `WARN` verbosity level is enabled by default when the `RUSTC_LOG` env variable is empty. If the `RUSTC_LOG` env variable is set, the filter string in the environment variable is honored, instead. Fixes rust-lang#76824 Closes rust-lang#89623 cc @eddyb, @oli-obk
Co-authored-by: Joshua Nelson <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
T_____T Signed-off-by: Eliza Weisman <[email protected]>
Signed-off-by: Eliza Weisman <[email protected]>
callers of spawn_unchecked() need to make sure that the thread not outlive references in the passed closure, not the other way around.
These methods could be misconstrued as modifying their arguments instead of returning new values. Where possible I made the note recommend a method that does mutate in place.
Co-authored-by: Josh Triplett <[email protected]>
String.split_terminator: Add an example when using a slice of chars
Fix stabilization version for `bindings_after_at` According to the release notes and its PR milestone, it was stabilized in 1.56.0.
rustc_driver: Enable the `WARN` log level by default This commit changes the `tracing_subscriber` initialization in `rustc_driver` so that the `WARN` verbosity level is enabled by default when the `RUSTC_LOG` env variable is empty. If the `RUSTC_LOG` env variable is set, the filter string in the environment variable is honored, instead. Fixes rust-lang#76824 Closes rust-lang#89623 cc `@eddyb,` `@oli-obk`
…lett Fix minor std::thread documentation typo callers of spawn_unchecked() need to make sure that the thread not outlive references in the passed closure, not the other way around.
…iplett Fix asm docs typo Fixes a typo in target feature names in the `asm` documentation
…ed, r=Mark-Simulacrum Move `read2_abbreviated` function into read2.rs Work towards rust-lang#89475.
…err-locks, r=joshtriplett Add #[must_use] to stdin/stdout/stderr locks Affected methods: ```rust std::io fn stdin_locked() -> StdinLock<'static>; std::io::Stdin fn lock(&self) -> StdinLock<'_>; std::io fn stdout_locked() -> StdoutLock<'static>; std::io::Stdout fn lock(&self) -> StdoutLock<'_>; std::io fn stderr_locked() -> StderrLock<'static>; std::io::Stderr fn lock(&self) -> StderrLock<'_>; ``` Parent issue: rust-lang#89692
…s, r=joshtriplett Add #[must_use] to string/char transformation methods These methods could be misconstrued as modifying their arguments instead of returning new values. Where possible I made the note recommend a method that does mutate in place. Parent issue: rust-lang#89692
|
@bors r+ rollup=never p=8 |
|
📌 Commit a2caa35 has been approved by |
|
⌛ Testing commit a2caa35 with merge ef575b7e6f465cd3e34528a20814fb4a3c911ad4... |
|
💔 Test failed - checks-actions |
|
Looks like |
Successful merges:
bindings_after_at#89605 (Fix stabilization version forbindings_after_at)WARNlog level by default #89634 (rustc_driver: Enable theWARNlog level by default)read2_abbreviatedfunction into read2.rs #89687 (Moveread2_abbreviatedfunction into read2.rs)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup