Store associated item defaultness in impl_defaultness.
This commit is contained in:
parent
c9e134e1b6
commit
110f0656cb
25 changed files with 89 additions and 107 deletions
|
@ -103,7 +103,6 @@ fn associated_item_from_trait_item_ref(
|
|||
name: trait_item_ref.ident.name,
|
||||
kind,
|
||||
vis: tcx.visibility(def_id),
|
||||
defaultness: trait_item_ref.defaultness,
|
||||
def_id: def_id.to_def_id(),
|
||||
trait_item_def_id: Some(def_id.to_def_id()),
|
||||
container: ty::TraitContainer(parent_def_id.to_def_id()),
|
||||
|
@ -127,7 +126,6 @@ fn associated_item_from_impl_item_ref(
|
|||
name: impl_item_ref.ident.name,
|
||||
kind,
|
||||
vis: tcx.visibility(def_id),
|
||||
defaultness: impl_item_ref.defaultness,
|
||||
def_id: def_id.to_def_id(),
|
||||
trait_item_def_id: impl_item_ref.trait_item_def_id,
|
||||
container: ty::ImplContainer(parent_def_id.to_def_id()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue