-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
fix Miri visiting generators #60541
fix Miri visiting generators #60541
Conversation
// when really many of them can be uninitialized. | ||
// Just treat them as a union for now, until hopefully the layout | ||
// computation is fixed. | ||
return self.visit_union(v); |
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.
cc @tmandry
@bors r+ p=1 |
📌 Commit c5c161e has been approved by |
@@ -66,6 +66,7 @@ macro_rules! try_validation { | |||
pub enum PathElem { | |||
Field(Symbol), | |||
Variant(Symbol), | |||
GeneratoreState(VariantIdx), |
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.
sp: GeneratorState
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.
oopsie fixed in #60569
☀️ Test successful - checks-travis, status-appveyor |
Fixes fall-out caused by #59897.
r? @oli-obk