-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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 7 pull requests #108889
Rollup of 7 pull requests #108889
Commits on Mar 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ccb1de - Browse repository at this point
Copy the full SHA 1ccb1deView commit details -
Delete old re-exports from rustc_smir
This approach didn't seem to work well.
Configuration menu - View commit details
-
Copy full SHA for 40185db - Browse repository at this point
Copy the full SHA 40185dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 118afdf - Browse repository at this point
Copy the full SHA 118afdfView commit details
Commits on Mar 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bfefd11 - Browse repository at this point
Copy the full SHA bfefd11View commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ef807cb - Browse repository at this point
Copy the full SHA ef807cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2040de - Browse repository at this point
Copy the full SHA a2040deView commit details
Commits on Mar 7, 2023
-
Create new rustc_smir struct to map future crates
+ Add some information to the README.md
Configuration menu - View commit details
-
Copy full SHA for b66db7e - Browse repository at this point
Copy the full SHA b66db7eView commit details -
Remove DropAndReplace terminator
PR 107844 made DropAndReplace unused, let's remove it completely from the codebase.
Configuration menu - View commit details
-
Copy full SHA for c5d4e4d - Browse repository at this point
Copy the full SHA c5d4e4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 153bfa0 - Browse repository at this point
Copy the full SHA 153bfa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eaeb71 - Browse repository at this point
Copy the full SHA 5eaeb71View commit details
Commits on Mar 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8a99ffc - Browse repository at this point
Copy the full SHA 8a99ffcView commit details -
Rollup merge of rust-lang#106085 - fee1-dead-contrib:tidy-ci-matchers…
…, r=pietroalbini use problem matchers for tidy CI
Configuration menu - View commit details
-
Copy full SHA for 47c3a48 - Browse repository at this point
Copy the full SHA 47c3a48View commit details -
Rollup merge of rust-lang#108690 - Zoxc:query-size-limits, r=cjgillot
Place size limits on query keys and values This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
Configuration menu - View commit details
-
Copy full SHA for 767c1e7 - Browse repository at this point
Copy the full SHA 767c1e7View commit details -
Rollup merge of rust-lang#108754 - compiler-errors:retry, r=oli-obk
Retry `pred_known_to_hold_modulo_regions` with fulfillment if ambiguous Fixes rust-lang#108721 The problem here is that when we're checking `is_sized_raw` during codegen on some type that has a lot of opaques in it, something emits several nested obligations that are individually ambiguous, but when processed together in a loop then apply modulo regions. Since the `evaluate_predicates_recursively` inner loop doesn't process predicates until they stop changing, we return `EvaluatedToAmbig`, which makes the sized check return false incorrectly. See: https://github.com/rust-lang/rust/blob/f15f0ea73972786e426732c5b92ba9a904b866c4/compiler/rustc_trait_selection/src/traits/select/mod.rs#L596-L606 ... Compared to the analogous loop in the new solver: https://github.com/rust-lang/rust/blob/f15f0ea73972786e426732c5b92ba9a904b866c4/compiler/rustc_trait_selection/src/solve/mod.rs#L481-L512 To fix this, if we get ambiguous during `pred_known_to_hold_modulo_regions`, just retry the obligation in a fulfillment context. -- Unfortunately... I don't have a test for this. I've only tested this locally. Pending minimization :/ r? types
Configuration menu - View commit details
-
Copy full SHA for 6ebdffb - Browse repository at this point
Copy the full SHA 6ebdffbView commit details -
Rollup merge of rust-lang#108759 - workingjubilee:pedantically-correc…
…t-release-notes-for-1.41.1-apple32, r=Mark-Simulacrum 1.41.1 supported 32-bit Apple targets This question was raised by rust-lang#108556.
Configuration menu - View commit details
-
Copy full SHA for eba9e75 - Browse repository at this point
Copy the full SHA eba9e75View commit details -
Rollup merge of rust-lang#108846 - celinval:smir-poc, r=oli-obk
StableMIR: Proof-of-concept implementation + test This PR is part of the [project Stable MIR](https://github.com/rust-lang/project-stable-mir). The PR deletes old re-exports from rustc_smir and introduces a proof-of-concept implementation for APIs to retrieve crate information. The implementation follows the [design described here](https://hackmd.io/XhnYHKKuR6-LChhobvlT-g?view), but instead of using separate crates for the implementation, it uses separate modules inside `rustc_smir`. The API introduced at this point should be seen just as an example on how we are planning to structure the communication between tools and the compiler. I have not explored yet what should be the right granularity, the best starting point for users, neither the best way to implement it. r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for a64e3f3 - Browse repository at this point
Copy the full SHA a64e3f3View commit details -
Rollup merge of rust-lang#108856 - Zeegomo:remove-drop-and-rep, r=tmi…
…asko Remove DropAndReplace terminator rust-lang#107844 made DropAndReplace unused, let's remove it completely from the codebase.
Configuration menu - View commit details
-
Copy full SHA for 3c9b079 - Browse repository at this point
Copy the full SHA 3c9b079View commit details -
Rollup merge of rust-lang#108883 - compiler-errors:post-norm-copy-err…
…, r=BoxyUwU Suppress copy impl error when post-normalized type references errors Suppress spurious errors from the `Copy` impl validity check when fields have bad types *post*-normalization, instead of just pre-normalization. ---- The const-generics test regressed recently due to rust-lang#107965, cc ``@BoxyUwU.`` * I think it's because `[_; 0u32]: Copy` now fails to hold because a nested obligation `ConstArgHasType(0u32, usize)` fails. * It's interesting that `[const_error]` shows up in the type only after normalization, though, but I'm pretty sure that it's due to the evaluate call that happens when normalizing unevaluated consts.
Configuration menu - View commit details
-
Copy full SHA for dfdcf52 - Browse repository at this point
Copy the full SHA dfdcf52View commit details