-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cleanup rustc/session #54963
Cleanup rustc/session #54963
Conversation
r? @varkor (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup |
📌 Commit 37cc3a642c9e48d3bd772520b4ef2b0556f8c2e6 has been approved by |
☔ The latest upstream changes (presumably #54592) made this pull request unmergeable. Please resolve the merge conflicts. |
37cc3a6
to
1b7de54
Compare
Rebased. |
@bors r+ |
📌 Commit 1b7de54c4c1e47eaf31145afd1decd70bf8f768d has been approved by |
☔ The latest upstream changes (presumably #55008) made this pull request unmergeable. Please resolve the merge conflicts. |
1b7de54
to
42ae9dc
Compare
Rebased. |
@bors r+ |
📌 Commit 42ae9dc has been approved by |
Cleanup rustc/session - improve allocations - improve common patterns - use `to_owned` when no string conversion is needed - move `const`s up to improve readability - whitespace & formatting improvements
Rollup of 11 pull requests Successful merges: - #54820 (Closes #54538: `unused_patterns` lint) - #54963 (Cleanup rustc/session) - #54991 (add test for #23189) - #55025 (Add missing lifetime fragment specifier to error message.) - #55047 (doc: make core::fmt::Error example more simple) - #55048 (Don't collect to vectors where unnecessary) - #55060 (clarify pointer add/sub function safety concerns) - #55062 (Make EvalContext::step public again) - #55066 (Fix incorrect link in println! documentation) - #55081 (Deduplicate tests) - #55088 (Update rustc documentation link) Failed merges: r? @ghost
to_owned
when no string conversion is neededconst
s up to improve readability