-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 9 pull requests #109941
Rollup of 9 pull requests #109941
Conversation
…-lint and make it fallible
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Pull some tuple variant fields out into their own struct This is groundwork for adding more fields to those new structs, but I believe the change to be useful on its own. r? `@Nilstrieb` but feel free to reroll for `compiler`
…ilstrieb Fix `non_exhaustive_omitted_patterns` lint span Fixes rust-lang#109837 `DUMMY_SP` was being passed as the span in many cases where we have a span available to use. This meant that the location of the violating pattern wasn't shown, or the list of un-covered variants r? `@Nilstrieb`
…aber Enforce VarDebugInfo::Place in MIR validation.
Doc-comment `IndexVec::from_elem` and use it in a few more places Since this PR is a reply to rust-lang#109819 (comment), r? ``@WaffleLapkin``
…oli-obk Emit feature error for parenthesized generics in associated type bounds We don't actually do AST->HIR lowering with some `-Zunpretty` flags, so it's not correct to just delay a bug instead of emitting a feature error. Some diagnostics regressed because of the new errors, but oh well. 🤷 Fixes rust-lang#109898
…=notriddle rustdoc: escape GAT args in more cases Fixes rust-lang#109488. Previously we printed the *un*escaped form of GAT arguments not only when `f.alternate()` was true but *also* when we failed to compute the URL of the trait associated with the type projection, i.e. when `href(…)` returned an `Err(_)`. In this PR the argument printing logic is entirely separate from the link resolution code above as it should be. Further, we now only try to compute the URL if the HTML format was requested with `!f.alternate()`. Before, we would sometimes compute the `href` only to throw it away later.
…be-documented, r=GuillaumeGomez Don't collect return-position impl traits for documentation rust-lang#104889 modified the rustdoc ast collection step to use a HIR visitor, which more thoroughly walks the HIR tree. that means that we're going to encounter inner items (incl return-position impl traits and async fn opaque futures) that are not possible to document. FIxes (but does not close due to being a beta regression) rust-lang#109931 r? `@GuillaumeGomez`
Move a const-prop-lint specific hack from mir interpret to const-prop-lint and make it fallible fixes rust-lang#109743 This hack didn't need to live in the mir interpreter. For const-prop-lint it is entirely correct to avoid doing any const prop if normalization fails at this stage. Most likely we couldn't const propagate anything anyway, and if revealing was needed (so opaque types were involved), we wouldn't want to be too smart and leak the hidden type anyway.
…errors Add regression test for rust-lang#93911 r? `@compiler-errors` Closes rust-lang#93911
@bors r+ rollup=never p=8 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: be8e5ba157 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (540a50d): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
Successful merges:
non_exhaustive_omitted_patterns
lint span #109838 (Fixnon_exhaustive_omitted_patterns
lint span)IndexVec::from_elem
and use it in a few more places #109913 (Doc-commentIndexVec::from_elem
and use it in a few more places)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup