Remove dead code stemming from the old effects desugaring
This commit is contained in:
parent
759e07f063
commit
a6bbdf0fd4
12 changed files with 4 additions and 40 deletions
|
@ -143,7 +143,6 @@ fn associated_item_from_trait_item_ref(trait_item_ref: &hir::TraitItemRef) -> ty
|
|||
container: ty::TraitContainer,
|
||||
fn_has_self_parameter: has_self,
|
||||
opt_rpitit_info: None,
|
||||
is_effects_desugaring: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -163,7 +162,6 @@ fn associated_item_from_impl_item_ref(impl_item_ref: &hir::ImplItemRef) -> ty::A
|
|||
container: ty::ImplContainer,
|
||||
fn_has_self_parameter: has_self,
|
||||
opt_rpitit_info: None,
|
||||
is_effects_desugaring: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -275,7 +273,6 @@ fn associated_type_for_impl_trait_in_trait(
|
|||
fn_def_id: fn_def_id.to_def_id(),
|
||||
opaque_def_id: opaque_ty_def_id.to_def_id(),
|
||||
}),
|
||||
is_effects_desugaring: false,
|
||||
});
|
||||
|
||||
// Copy visility of the containing function.
|
||||
|
@ -327,7 +324,6 @@ fn associated_type_for_impl_trait_in_impl(
|
|||
container: ty::ImplContainer,
|
||||
fn_has_self_parameter: false,
|
||||
opt_rpitit_info: Some(ImplTraitInTraitData::Impl { fn_def_id: impl_fn_def_id.to_def_id() }),
|
||||
is_effects_desugaring: false,
|
||||
});
|
||||
|
||||
// Copy visility of the containing function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue