-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
use &str / String literals instead of format!() #105873
Conversation
r? @nagisa (rustbot has picked a reviewer for you, use r? to override) |
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki Some changes occurred in cc @BoxyUwU |
span, | ||
format!("Missing value for constant, but no error reported?"), | ||
); | ||
let guar = infcx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting how rustfmt
changed its heuristics here, I guess the long macro was keeping it from doing this (arguably the old formatting was better imo but whatever, can't change that).
r? @Nilstrieb @bors r+ rollup |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#105419 (Add tests for rust-lang#41731) - rust-lang#105447 (Add a test for rust-lang#103095) - rust-lang#105842 (print argument name in arg mismatch if possible) - rust-lang#105863 (Update browser-ui-test version to reduce GUI tests flakyness) - rust-lang#105867 (remove redundant fn params that were only "used" in recursion) - rust-lang#105869 (don't clone Copy types) - rust-lang#105873 (use &str / String literals instead of format!()) - rust-lang#105879 (Revert "Introduce lowering_arena to avoid creating AST nodes on the fly") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
No description provided.