-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 VarDebugInfo to Stable MIR #117972
Add VarDebugInfo to Stable MIR #117972
Conversation
Failed to set assignee to
|
This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino, @ouz-a |
r? celinval I created rust-lang/team#1119 to hopefully fix the assignment. |
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.
Looks good! Thanks
☔ The latest upstream changes (presumably #118023) made this pull request unmergeable. Please resolve the merge conflicts. |
2a5380a
to
965f46b
Compare
@bors r+ rollup Awesome! Thanks |
I don't think that worked 😅 |
@bors r+ rollup |
Add VarDebugInfo to Stable MIR Previously we omitted `VarDebugInfo` because we didn't have `Projection` now that rust-lang#117517 is merged it's possible to add `VarDebugInfo` information in `Body`. This PR adds stable version of the `VarDebugInfo` to `Body` r? `@celinval`
☔ The latest upstream changes (presumably #118015) made this pull request unmergeable. Please resolve the merge conflicts. |
965f46b
to
d0dd19a
Compare
@bors r+ rollup |
Add VarDebugInfo to Stable MIR Previously we omitted `VarDebugInfo` because we didn't have `Projection` now that rust-lang#117517 is merged it's possible to add `VarDebugInfo` information in `Body`. This PR adds stable version of the `VarDebugInfo` to `Body` r? `@celinval`
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#117972 (Add VarDebugInfo to Stable MIR) - rust-lang#118110 (Document `DefiningAnchor` a bit more) - rust-lang#118112 (Don't ICE when ambiguity is found when selecting `Index` implementation in typeck) - rust-lang#118135 (Remove quotation from filename in stable_mir) Failed merges: - rust-lang#118012 (Add support for global allocation in smir) r? `@ghost` `@rustbot` modify labels: rollup
Add VarDebugInfo to Stable MIR Previously we omitted `VarDebugInfo` because we didn't have `Projection` now that rust-lang#117517 is merged it's possible to add `VarDebugInfo` information in `Body`. This PR adds stable version of the `VarDebugInfo` to `Body` r? ``@celinval``
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#117972 (Add VarDebugInfo to Stable MIR) - rust-lang#118109 (rustdoc-search: simplify `checkPath` and `sortResults`) - rust-lang#118110 (Document `DefiningAnchor` a bit more) - rust-lang#118112 (Don't ICE when ambiguity is found when selecting `Index` implementation in typeck) - rust-lang#118135 (Remove quotation from filename in stable_mir) Failed merges: - rust-lang#118012 (Add support for global allocation in smir) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#117972 - ouz-a:stable_debuginfo, r=celinval Add VarDebugInfo to Stable MIR Previously we omitted `VarDebugInfo` because we didn't have `Projection` now that rust-lang#117517 is merged it's possible to add `VarDebugInfo` information in `Body`. This PR adds stable version of the `VarDebugInfo` to `Body` r? ```@celinval```
} | ||
|
||
#[derive(Clone, Debug, Eq, PartialEq)] | ||
pub struct ConstOperand { |
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.
This adds ConstOperand
even though Constant
already exists -- but those are the same type! In rustc itself, mir::Constant
got renamed to mir::ConstOperand
, smir just never followed suit.
Previously we omitted
VarDebugInfo
because we didn't haveProjection
now that #117517 is merged it's possible to addVarDebugInfo
information inBody
. This PR adds stable version of theVarDebugInfo
toBody
r? @celinval