-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Add smir predicates_of
#115084
Add smir predicates_of
#115084
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino |
parent: parent.map(|did| self.trait_def(did)), | ||
predicates: predicates | ||
.iter() | ||
.map(|(clause, _span)| clause.as_predicate().kind().skip_binder().stable(self)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we already have spans around, as opaque
probably.
49fc228
to
c025bb2
Compare
@bors r+ rollup |
📌 Commit c025bb20f5c9148204d2812c8844acbe9e8ac0d0 has been approved by It is now in the queue for this repository. |
⌛ Testing commit c025bb20f5c9148204d2812c8844acbe9e8ac0d0 with merge cfc7c7a57a0f173d2797e7beb7f8da4e229aaf2c... |
☀️ Test successful - checks-actions |
👀 Test was successful, but fast-forwarding failed: 422 Update is not a fast forward |
Finished benchmarking commit (cfc7c7a57a0f173d2797e7beb7f8da4e229aaf2c): 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. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 634.977s -> 634.549s (-0.07%) |
☔ The latest upstream changes (presumably #115126) made this pull request unmergeable. Please resolve the merge conflicts. |
c025bb2
to
20ca55b
Compare
This comment has been minimized.
This comment has been minimized.
20ca55b
to
107cb5c
Compare
@bors r+ rollup |
Rollup of 9 pull requests Successful merges: - rust-lang#114987 (elaborate a bit on the (lack of) safety in 'Mmap::map') - rust-lang#115084 (Add smir `predicates_of`) - rust-lang#115117 (Detect and report nix shell) - rust-lang#115124 (kmc-solid: Import `std::sync::PoisonError` in `std::sys::solid::os`) - rust-lang#115152 (refactor(lint): translate `RenamedOrRemovedLint`) - rust-lang#115154 (Move some ui tests to subdirectories) - rust-lang#115167 (Fix ub-int-array test for big-endian platforms) - rust-lang#115172 (Add more tests for if_let_guard) - rust-lang#115177 (Add symbols for Clippy usage) r? `@ghost` `@rustbot` modify labels: rollup
…-of, r=compiler-errors Add missing high-level stable_mir::generics_of fn We forgot to add this function in rust-lang#115092, as we have done on rust-lang#115084 and other high level APIs. At some point I think we should re-organize the structure of the code but this is what we have for now. r? `@compiler-errors` Would have assigned `@oli-obk` but he is still on vacations
…mpiler-errors Add missing high-level stable_mir::generics_of fn We forgot to add this function in rust-lang/rust#115092, as we have done on rust-lang/rust#115084 and other high level APIs. At some point I think we should re-organize the structure of the code but this is what we have for now. r? `@compiler-errors` Would have assigned `@oli-obk` but he is still on vacations
r? @spastorino