-
Notifications
You must be signed in to change notification settings - Fork 13k
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 6 pull requests #105425
Rollup of 6 pull requests #105425
Conversation
Given that attributes is stored in a separate BTreeMap, it's not necessary to pass it in when constructing `hir::Expr`. We can just construct `hir::Expr` and then call `self.lower_attrs` later if it needs attributes. As most desugaring code don't use attributes, this allows some code cleanup.
...and some if-let-elses too :P
... and other pattern matching improvements
The module-item and import-item classes are attached to the item-left. Just target that, instead.
…i-obk Don't ICE in ExprUseVisitor on FRU for non-existent struct Fixes rust-lang#104613 Fixes rust-lang#105202
Simplify attribute handling in rustc_ast_lowering Given that attributes is stored in a separate BTreeMap, it's not necessary to pass it in when constructing `hir::Expr`. We can just construct `hir::Expr` and then call `self.lower_attrs` later if it needs attributes. As most desugaring code don't use attributes, this allows some code cleanup.
…TaKO8Ki Remove more `ref` patterns from the compiler Previous PR: rust-lang#105045
…y, r=oli-obk normalize before handling simple checks for evaluatability of `ty::Const` `{{{{{{{ N }}}}}}}` is desugared into a `ConstKind::Unevaluated` for an anonymous `const` item so when calling `is_const_evaluatable` on it we skip the `ConstKind::Param(_) => Ok(())` arm which is incorrect.
… r=GuillaumeGomez rustdoc: simplify CSS selectors for item table `.stab` The module-item and import-item classes are attached to the item-left. Just target that, instead.
fix: remove hack from link.rs This logic implemented in libc. r? `@petrochenkov`
@bors r+ rollup=never p=6 |
⌛ Testing commit 4968af0 with merge dee62a7e95e8a8868bf7175f7156587c70ab84e3... |
💥 Test timed out |
@bors retry |
💔 Test failed - checks-actions |
@bors retry |
⌛ Testing commit 4968af0 with merge edbac3b7b47f478b4ae5e789d87772877f9309e5... |
💔 Test failed - checks-actions |
@bors retry dist-arm-linux hang on |
The job Click to see the possible cause of the failure (guessed by this bot)
|
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 01fbc5ae78 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
The job Click to see the possible cause of the failure (guessed by this bot)
|
Finished benchmarking commit (f5418b0): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. 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:
ref
patterns from the compiler #105368 (Remove moreref
patterns from the compiler)ty::Const
#105400 (normalize before handling simple checks for evaluatability ofty::Const
).stab
#105403 (rustdoc: simplify CSS selectors for item table.stab
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup