-
Notifications
You must be signed in to change notification settings - Fork 184
Add array types to TypeName
#467
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
Changes from all commits
28b92c6
55a63e9
bc193d5
3381f79
4269646
176fd2b
2534440
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,9 +74,11 @@ pub fn add_sized_program_clauses<I: Interner>( | |
TypeName::Tuple(arity) => { | ||
push_tuple_sized_conditions(db, builder, trait_ref, *arity, substitution) | ||
} | ||
TypeName::Never | TypeName::Scalar(_) | TypeName::Raw(_) | TypeName::Ref(_) => { | ||
builder.push_fact(trait_ref.clone()) | ||
} | ||
TypeName::Array | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have "WF" condition code somewhere? We'll have to check that the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We push WF clauses in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess I was thinking of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should just file an issue I guess. |
||
| TypeName::Never | ||
| TypeName::Scalar(_) | ||
| TypeName::Raw(_) | ||
| TypeName::Ref(_) => builder.push_fact(trait_ref.clone()), | ||
_ => return, | ||
}, | ||
TyData::Function(_) => builder.push_fact(trait_ref.clone()), | ||
|
Uh oh!
There was an error while loading. Please reload this page.