Closed
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.