-
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 #106760
Rollup of 8 pull requests #106760
Conversation
doc: rewrite doc for signed int::{carrying_add,borrowing_sub} Reword the documentation for bigint helper methods, signed `int::{carrying_add,borrowing_sub}` (rust-lang#85532). This change is a follow-up to rust-lang#101889, which was for the unsigned methods.
…macro, r=dtolnay Stabilize `::{core,std}::pin::pin!` As discussed [over here](rust-lang#93178 (comment)), it looks like a decent time to stabilize the `pin!` macro. ### Public API ```rust // in module `core::pin` /// API: `fn pin<T>($value: T) -> Pin<&'local mut T>` pub macro pin($value:expr $(,)?) { … } ``` - Tracking issue: rust-lang#93178 (now all this needs is an FCP by the proper team?)
Migrate mir_build diagnostics 2 of 3 The first three commits are fairly boring, however I've made some changes to the output of the match checking diagnostics.
…sis, r=lcnr Move autoderef to `rustc_hir_analysis` Not sure if this is a change we actually want, but autoderef really is only (functionally) used by `rustc_hir_analysis` and `rustc_hir_typeck`, so it probably should live there. Instead, implement a separate autoderef helper in `TypeErrCtxt` for the one use-case that goes against the ordering of the crate graph..
…ature, r=petrochenkov Stabilize f16c_target_feature Resolves rust-lang/stdarch#1234 Library PR for stabilizing corresponding intrinsics: rust-lang/stdarch#1366 See also rust-lang#44839 tracking issue for target_feature
… r=compiler-errors Tweak E0277 `&`-removal suggestions Fix rust-lang#64068, fix rust-lang#84837.
…r=cjgillot Label `struct/enum constructor` instead of `fn item`, mention that it should be called on type mismatch Fixes rust-lang#106516
Remove `<dyn AstConv<'tcx>>::fun(c, ...)` calls in favour of `c.astconv().fun(...)` This removes the need for <>><><><<>> dances and makes the code a bit nicer. Not sure if `astconv` is the best name though, maybe someone has a better idea?
@bors r+ rollup=never p=9 @matthiaskrgr this uses most of the PRs from #106756, should be disjoint from #106757 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 2b8590ef3b In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (606c390): 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.
CyclesThis benchmark run did not return any relevant results for this metric. |
Successful merges:
::{core,std}::pin::pin!
#103800 (Stabilize::{core,std}::pin::pin!
)rustc_hir_analysis
#106170 (Move autoderef torustc_hir_analysis
)&
-removal suggestions #106360 (Tweak E0277&
-removal suggestions)struct/enum constructor
instead offn item
, mention that it should be called on type mismatch #106524 (Labelstruct/enum constructor
instead offn item
, mention that it should be called on type mismatch)<dyn AstConv<'tcx>>::fun(c, ...)
calls in favour ofc.astconv().fun(...)
#106739 (Remove<dyn AstConv<'tcx>>::fun(c, ...)
calls in favour ofc.astconv().fun(...)
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup