Combine identical alias arms
This commit is contained in:
@@ -152,10 +152,7 @@ where
|
||||
queue_type(self, required);
|
||||
}
|
||||
}
|
||||
ty::Array(..)
|
||||
| ty::Alias(ty::Opaque, ..)
|
||||
| ty::Alias(ty::Projection, ..)
|
||||
| ty::Param(_) => {
|
||||
ty::Array(..) | ty::Alias(..) | ty::Param(_) => {
|
||||
if ty == component {
|
||||
// Return the type to the caller: they may be able
|
||||
// to normalize further than we can.
|
||||
|
||||
Reference in New Issue
Block a user