-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-type-systemArea: Type systemArea: Type systemE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
For example, this is clearly wrong in type_is_pod
:
2515 ty_struct(did, ref substs) => {
2516 result = vec::any(lookup_struct_fields(cx, did), |f| {
2517 let fty = ty::lookup_item_type(cx, f.id);
2518 let sty = subst(cx, substs, fty.ty);
2519 type_is_pod(cx, sty)
2520 });
2521 }
But vec::any
is called in other places throughout this file and I'm not immediately sure which ones are right vs wrong.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type systemE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.