use idiomatic formatting
Also, remove needless else
This commit is contained in:
parent
e7acd078f4
commit
b651679d90
@ -803,7 +803,8 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
||||
while let Some(arg) = walk.next() {
|
||||
if arg == param_to_point_at {
|
||||
return true;
|
||||
} else if let ty::GenericArgKind::Type(ty) = arg.unpack()
|
||||
}
|
||||
if let ty::GenericArgKind::Type(ty) = arg.unpack()
|
||||
&& let ty::Alias(ty::Projection, ..) = ty.kind()
|
||||
{
|
||||
// This logic may seem a bit strange, but typically when
|
||||
|
Loading…
x
Reference in New Issue
Block a user