-
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
Implement a few more rvalue translation to smir #112717
Conversation
This PR changes Stable MIR These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
one thing I've done for cases like this is to just use a r=me after splitting off the Cargo.toml and extern crate changes into their own commit (and maybe the @bors delegate+ |
That makes sense. What if I create an actual Opaque type that implements ToString (or any other name you might prefer). Just to differentiate from cases where String is the actual stable version.
Ok. Just to clarify. Do you want me to split them into separate commit or separate PRs?
|
Oh heh, that's even better, as then you have an actual type that can even be used in a
Just separate commits. It's totally alright to piggyback some cleanup commits into a regular PR |
7ec8d53
to
844dc5b
Compare
📌 Commit 844dc5ba839ed48ca6c8c82da87b49d240d51f77 has been approved by It is now in the queue for this repository. |
844dc5b
to
97e609c
Compare
bors silently ignores approvals that happen before (force-)pushes @bors r+ |
@bors rollup |
…i-obk Implement a few more rvalue translation to smir Add the implementation for a few more RValue variants. For now, I simplified the stable version of `RValue::Ref` by removing the notion of Region. r? `@oli-obk`
@bors r- |
☔ The latest upstream changes (presumably #113330) made this pull request unmergeable. Please resolve the merge conflicts. |
97e609c
to
633c022
Compare
@oli-obk I had to solve some conflicts. Do I need another approval? |
@bors r+ |
…i-obk Implement a few more rvalue translation to smir Add the implementation for a few more RValue variants. For now, I simplified the stable version of `RValue::Ref` by removing the notion of Region. r? `@oli-obk`
may need rebase |
☔ The latest upstream changes (presumably #113484) made this pull request unmergeable. Please resolve the merge conflicts. |
Add extern declarations and optional dependencies to fix build done directly via `cargo build`.
- Introduce an Opaque type for adding information that is still internal to the compiler.
633c022
to
b9f378b
Compare
@oli-obk sorry, another conflict... |
@bors r+ rollup No other smir stuff in the queue, should work this time 😆 |
…i-obk Implement a few more rvalue translation to smir Add the implementation for a few more RValue variants. For now, I simplified the stable version of `RValue::Ref` by removing the notion of Region. r? `@oli-obk`
@bors rollup=iffy might break clippy tests, lets find out |
@bors rollup It cannot possibly affect clippy. No one uses the SMIR crate. |
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#112717 (Implement a few more rvalue translation to smir) - rust-lang#113310 (Don't suggest `impl Trait` in path position) - rust-lang#113497 (Support explicit 32-bit MIPS ABI for the synthetic object) - rust-lang#113560 (Lint against misplaced where-clauses on associated types in traits) r? `@ghost` `@rustbot` modify labels: rollup
Add the implementation for a few more RValue variants. For now, I simplified the stable version of
RValue::Ref
by removing the notion of Region.r? @oli-obk