Apply formatting fixes
This commit is contained in:
parent
8aa30dd3cb
commit
22f4bbb20f
3 changed files with 27 additions and 34 deletions
|
@ -263,10 +263,10 @@ fn resolve_associated_item<'tcx>(
|
|||
let is_copy = self_ty.is_copy_modulo_regions(tcx.at(DUMMY_SP), param_env);
|
||||
match self_ty.kind() {
|
||||
_ if is_copy => (),
|
||||
ty::Generator(..) |
|
||||
ty::GeneratorWitness(..) |
|
||||
ty::Closure(..) |
|
||||
ty::Tuple(..) => {},
|
||||
ty::Generator(..)
|
||||
| ty::GeneratorWitness(..)
|
||||
| ty::Closure(..)
|
||||
| ty::Tuple(..) => {}
|
||||
_ => return Ok(None),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue