-
Notifications
You must be signed in to change notification settings - Fork 13.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
Add Alias to smir #113943
Add Alias to smir #113943
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino |
Could not assign reviewer from: |
e038a38
to
f5bf617
Compare
This comment has been minimized.
This comment has been minimized.
0a96e64
to
0cebc5b
Compare
r? @spastorino |
Could not assign reviewer from: |
@@ -17,6 +17,7 @@ type Span = Opaque; | |||
#[derive(Clone, Debug)] | |||
pub enum TyKind { | |||
RigidTy(RigidTy), | |||
Alias(AliasDef, GenericArgs, AliasKind), |
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'd make this match more closely what we have in rustc_middle
. So Alias(AliasKind, AliasTy)
and AliasTy
has the AliasDef
and GenericArgs
. No big reasons for this, it's just to follow the pattern we have for other variants.
Looks perfect now. |
a0e7a78
to
7ac0ef9
Compare
@bors r+ rollup |
☀️ Test successful - checks-actions |
Finished benchmarking commit (98179ad): 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: 651.728s -> 651.172s (-0.09%) |
r? Spastorino