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
|
@ -239,9 +239,9 @@ fn layout_of_uncached<'tcx>(
|
|||
|
||||
// Arrays and slices.
|
||||
ty::Array(element, mut count) => {
|
||||
if count.has_projections() {
|
||||
if count.has_aliases() {
|
||||
count = tcx.normalize_erasing_regions(param_env, count);
|
||||
if count.has_projections() {
|
||||
if count.has_aliases() {
|
||||
return Err(error(cx, LayoutError::Unknown(ty)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue