-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 8 pull requests #107105
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 #107105
Conversation
…leywiser Recover labels written as identifiers This adds recovery for `break label expr` and `continue label`, as well as a test for `break label`.
…eader, r=lcnr Don't treat closures from other crates as local fixes rust-lang#104817 r? `@lcnr` Specialization can prefer an impl for an opaque type over a blanket impls that also matches. If the blanket impl only applies if an auto-trait applies, we look at the hidden type of the opaque type to see if that implements the auto trait. The hidden type can be a closure or generator, and thus we will end up seeing these types in coherence and have to handle them properly.
…pe, r=petrochenkov Document how to get the type of a default associated type
…omcc signal update string representation for haiku.
…wiser Recognise double-equals homoglyph Recognise `⩵` as a homoglyph for `==`. The first commit switches `char` to `&str`, as all previous homoglyphs corresponded to a single ASCII character, while the second implements the fix. `@rustbot` label +A-diagnostics +A-parser
…nts, r=oli-obk Custom MIR: Support storage statements r? `@oli-obk` `@JakobDegen`
…compiler-errors Added const-generic ui test case for issue rust-lang#106419 This PR adds a test case for rust-lang#106419 which has been fixed in master by rust-lang#105292 I also ran the test on f769d34 (the commit before rust-lang#105292 was merged) and it did fail there with the following output. ``` --- stderr ------------------------------- error[E0308]: mismatched types --> /home/patrikk/src/rust/src/test/ui/const-generics/issue-106419-struct-with-multiple-const-params.rs:5:10 | LL | #[derive(Clone)] | ^^^^^ | | | expected `A`, found `B` | expected `Bar<A, B>` because of return type | = note: expected struct `Bar<A, _>` found struct `Bar<B, _>` = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error For more information about this error, try `rustc --explain E0308`. ------------------------------------------ ```
…, r=compiler-errors Fix broken format strings in `infer.ftl` Fixes rust-lang#107088
@bors r+ rollup=never p=7 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 56ee85274e In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (04a41f8): comparison URL. Overall result: ❌ regressions - 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:
#![feature(generic_const_exprs)]
: mismatched types in derive macroClone
#106419)infer.ftl
#107091 (Fix broken format strings ininfer.ftl
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup