-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #108998
Rollup of 9 pull requests #108998
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 660d985 - Browse repository at this point
Copy the full SHA 660d985View commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4fe232b - Browse repository at this point
Copy the full SHA 4fe232bView commit details
Commits on Mar 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3097453 - Browse repository at this point
Copy the full SHA 3097453View commit details -
Configuration menu - View commit details
-
Copy full SHA for d223c26 - Browse repository at this point
Copy the full SHA d223c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aea469 - Browse repository at this point
Copy the full SHA 3aea469View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6d6f9 - Browse repository at this point
Copy the full SHA 1b6d6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b59a0 - Browse repository at this point
Copy the full SHA d4b59a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9574f39 - Browse repository at this point
Copy the full SHA 9574f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for f714613 - Browse repository at this point
Copy the full SHA f714613View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a30c2c2 - Browse repository at this point
Copy the full SHA a30c2c2View commit details -
Co-authored-by: Ruby Lazuli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14818e2 - Browse repository at this point
Copy the full SHA 14818e2View commit details -
Update triagebot rust-analyzer team mention
The working group got renamed
Configuration menu - View commit details
-
Copy full SHA for a818484 - Browse repository at this point
Copy the full SHA a818484View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad2bcb5 - Browse repository at this point
Copy the full SHA ad2bcb5View commit details -
Rollup merge of rust-lang#106921 - madsmtm:cell-memory-layout, r=dtolnay
Add documentation about the memory layout of `Cell` rust-lang#101717 guaranteed the memory layout of `UnsafeCell<T>`. This property (a guaranteed memory layout) can be useful to have on `Cell<T>` as well. (Note that `Cell<u8>` [already doesn't trigger the `improper_ctypes` lint](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=34af59ef60b96d8a8bdaec1d52cb5420) since it is `#[repr(transparent)]`). The concrete use-case is for the crate [`objc2`](https://github.com/madsmtm/objc2) to specify that `Cell<T>` is safe to use as an instance variable when `T` is. Fixes rust-lang#79303. --- I'm unsure if we should specify less, for example say that the `Cell` may have extra restrictions on when it may be accessed, or if that's implicit in the (deliberately minimal) way I've worded it here?
Configuration menu - View commit details
-
Copy full SHA for b90277e - Browse repository at this point
Copy the full SHA b90277eView commit details -
Rollup merge of rust-lang#108828 - compiler-errors:new-solver-alias-e…
…q-on-num-var, r=lcnr Emit alias-eq when equating numeric var and projection This doesn't fix everything having to do with projections and infer vars, but it does fix a common case I saw in HIR typeck. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 233ed35 - Browse repository at this point
Copy the full SHA 233ed35View commit details -
Rollup merge of rust-lang#108834 - compiler-errors:fn-ptr-fn-obl, r=s…
…pastorino Do not ICE when we have fn pointer `Fn` obligations with bound vars in the self type We never supported solving `for<'a> fn(&'a ()): Fn(&'a ())` -- I tried to add that support in rust-lang#104929, but iirc `@lcnr` wanted to support this more generally by eagerly instantiating trait predicate binders with placeholders. That never happened due to blockers in the old solver, but we probably shouldn't ICE in any case. On the bright side, this passes on the new solver :^)
Configuration menu - View commit details
-
Copy full SHA for bee8473 - Browse repository at this point
Copy the full SHA bee8473View commit details -
Rollup merge of rust-lang#108900 - bvanjoi:issue-108275, r=petrochenkov
fix(lexer): print whitespace warning for \x0c - close rust-lang#108275 - discussion: rust-lang#108403
Configuration menu - View commit details
-
Copy full SHA for 4ad3230 - Browse repository at this point
Copy the full SHA 4ad3230View commit details -
Rollup merge of rust-lang#108930 - Ezrashaw:better-error-for-manual-f…
…n-impl, r=petrochenkov feat: implement better error for manual impl of `Fn*` traits Fixes rust-lang#39259 cc `@estebank` (you gave me some advice in the linked issue, would you like to review?)
Configuration menu - View commit details
-
Copy full SHA for 7699462 - Browse repository at this point
Copy the full SHA 7699462View commit details -
Rollup merge of rust-lang#108937 - lcnr:winnowing-enum, r=WaffleLapkin
improve readability of winnowing
Configuration menu - View commit details
-
Copy full SHA for 772b1ce - Browse repository at this point
Copy the full SHA 772b1ceView commit details -
Rollup merge of rust-lang#108947 - compiler-errors:ct-infer-no-shapes…
…hifting, r=BoxyUwU Don't even try to combine consts with incompatible types ~I left a more detailed explanation for why this fixes this issue in the UI test, but in general, we should not try to unify const infer vars and rigid consts if they have incompatible types. That's because we don't want something like a `ConstArgHasType` predicate to suddenly go from passing to failing, or vice versa, due to a shallow resolve.~ 1. Use the `type_of` for a parameter in `try_eval_lit_or_param`, instead of the "expected" type from a `WithOptConstParam` def id. 2. Don't combine consts that have incompatible types. Fixes rust-lang#108781
Configuration menu - View commit details
-
Copy full SHA for 145e620 - Browse repository at this point
Copy the full SHA 145e620View commit details -
Rollup merge of rust-lang#108976 - Veykril:patch-2, r=jyn514
Update triagebot rust-analyzer team mention The working group got renamed
Configuration menu - View commit details
-
Copy full SHA for 42ca383 - Browse repository at this point
Copy the full SHA 42ca383View commit details -
Rollup merge of rust-lang#108983 - LeSeulArtichaut:108646-target-feat…
…ure-default-impl, r=cjgillot Forbid `#[target_feature]` on safe default implementations Fixes rust-lang#108646.
Configuration menu - View commit details
-
Copy full SHA for f74bb35 - Browse repository at this point
Copy the full SHA f74bb35View commit details