Rename HAS_PROJECTIONS to HAS_ALIASES etc.
This commit is contained in:
parent
5dbaafdb93
commit
6f17b7f0ab
12 changed files with 21 additions and 17 deletions
|
@ -1077,7 +1077,7 @@ fn try_instance_mir<'tcx>(
|
|||
let fields = def.all_fields();
|
||||
for field in fields {
|
||||
let field_ty = field.ty(tcx, args);
|
||||
if field_ty.has_param() && field_ty.has_projections() {
|
||||
if field_ty.has_param() && field_ty.has_aliases() {
|
||||
return Err("cannot build drop shim for polymorphic type");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue