This commit is contained in:
Deadbeef 2021-07-23 00:07:56 +08:00
parent 4c8b6a20a9
commit d356cd10f7
No known key found for this signature in database
GPG key ID: 027DF9338862ADDD

View file

@ -1032,8 +1032,9 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
AutoImplCandidate(..) => {}
// FIXME check if this is right, but this would allow Sized impls
BuiltinCandidate { .. } => {}
_ => { // reject all other types of candidates
return Err(Unimplemented)
_ => {
// reject all other types of candidates
return Err(Unimplemented);
}
}
}