-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 #86588
Rollup of 8 pull requests #86588
Conversation
Document the associativity of `Iterator::fold` and `DoubleEndedIterator::rfold` and add examples demonstrating this. Add links to direct users to the fold of the opposite associativity.
…r=Mark-Simulacrum Error code cleanup and enforce checks Fixes rust-lang#86097. It now checks if an error code is unused, and if so, will report an error if the error code wasn't commented out in the `error_codes.rs` file. It also checks that the constant used in the tidy check is up-to-date. r? `@Mark-Simulacrum`
…sakis Add documentation for various THIR structs Helps with rust-lang/project-thir-unsafeck#6. r? `@nikomatsakis`
…, r=dtolnay Document associativity of iterator folds. Document the associativity of `Iterator::fold` and `DoubleEndedIterator::rfold` and add examples demonstrating this. Add links to direct users to the fold of the opposite associativity.
…-explain, r=petrochenkov Support lowercase error codes in `--explain` This enables `rustc --explain` to accept a lowercase error code. Thus, for instance, `rustc --explain e0573` would be valid after this change, where before a user would have needed to do `rustc --explain E0573`. Although the upper case form of an error code is canonical, the user may prefer the easier-to-type lowercase form, and there's nothing to be gained by forcing them to type the upper case version. Resolves rust-lang#86518.
Edition 2021 enables disjoint capture First part for rust-lang/project-rfc-2229#43
Update cargo This also updates `opener` used in bootstrap (to try to keep dependencies unified). 18 commits in 44456677b5d1d82fe981c955dc5c67734b31f340..9233aa06c801801cff75df65df718d70905a235e 2021-06-12 18:00:01 +0000 to 2021-06-22 21:32:55 +0000 - Detect incorrectly named cargo.toml (rust-lang/cargo#9607) - Unify weak and namespaced features. (rust-lang/cargo#9574) - Change `rustc-cdylib-link-arg` error to a warning. (rust-lang/cargo#9563) - Updates to future-incompatible reporting. (rust-lang/cargo#9606) - Add a compatibility notice for diesel and the new resolver. (rust-lang/cargo#9602) - Don't allow config env to modify vars set by cargo (rust-lang/cargo#9579) - Disambiguate is_symlink. (rust-lang/cargo#9604) - Update opener requirement from 0.4 to 0.5 (rust-lang/cargo#9583) - Avoid quadratic complexity when splitting output into lines (rust-lang/cargo#9586) - Bump to 0.56.0, update changelog (rust-lang/cargo#9597) - Fix dep-info files including non-local build script paths. (rust-lang/cargo#9596) - Relax doc collision error. (rust-lang/cargo#9595) - Handle "jobs = 0" case in cargo config files (rust-lang/cargo#9584) - Enhancements to testsuite error output. (rust-lang/cargo#9589) - Fix typo (rust-lang/cargo#9590) - Enable support for fix --edition for 2021. (rust-lang/cargo#9588) - Add more details for installing git repository errors (rust-lang/cargo#9582) - More information for links conflicting (rust-lang/cargo#9568)
…, r=jyn514 chore(rustdoc): Remove unused impl block
Use `use_verbose` for `mir::Constant` Fixes rust-lang#79799.
@bors r+ p=8 rollup=never |
📌 Commit 64c9712 has been approved by |
☀️ Test successful - checks-actions |
This rollup led to moderate regressions in As part of the performance triage process, I'm marking this as a performance regression. If you believe this performance regression to be justifiable or once you have an issue or PR that addresses this regression, please mark this PR with the label @rustbot label +perf-regression |
@rylev @nikomatsakis I did a perf run with all code relating to checking edition wrt disjoint capture removed. There doesn't seem to be any significant benefit of doing so for any of the benchmarks. Only bootstrap seems to be affected. Details here: #86967 (comment) I don't think it's 2229 being enabled by default that caused this regression |
cachegrind diff for deeply-nested-async Check Full, on the published artifacts, shows:
This is not particularly revealing, unfortunately. The externs Debug IncrFull benchmark also showed a regression, but its results don't point to anything obvious:
Ultimately these results don't point to something obvious -- it seems plausible that the changes are due to a number of factors. The added code in the executable might be hurting PGO, for example, which may be causing this. Local builds + benchmarks aren't able to reproduce any regression (rather typically show very small improvements, likely lost in the noise) as a result of this PR, though those are done without PGO. So I'm going to say that this is small enough that I'm OK marking as triaged as-is. @rustbot label +perf-regression-triaged |
Successful merges:
--explain
#86533 (Support lowercase error codes in--explain
)use_verbose
formir::Constant
#86566 (Useuse_verbose
formir::Constant
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup