MethodData -> AssocFnData
This commit is contained in:
parent
e3c15ae6bc
commit
1b92e86a1c
@ -822,7 +822,7 @@ impl EncodeContext<'tcx> {
|
||||
} else {
|
||||
bug!()
|
||||
};
|
||||
EntryKind::AssocFn(self.lazy(MethodData {
|
||||
EntryKind::AssocFn(self.lazy(AssocFnData {
|
||||
fn_data,
|
||||
container,
|
||||
has_self: trait_item.method_has_self_argument,
|
||||
@ -903,7 +903,7 @@ impl EncodeContext<'tcx> {
|
||||
} else {
|
||||
bug!()
|
||||
};
|
||||
EntryKind::AssocFn(self.lazy(MethodData {
|
||||
EntryKind::AssocFn(self.lazy(AssocFnData {
|
||||
fn_data,
|
||||
container,
|
||||
has_self: impl_item.method_has_self_argument,
|
||||
|
@ -305,7 +305,7 @@ enum EntryKind {
|
||||
Generator(hir::GeneratorKind),
|
||||
Trait(Lazy<TraitData>),
|
||||
Impl(Lazy<ImplData>),
|
||||
AssocFn(Lazy<MethodData>),
|
||||
AssocFn(Lazy<AssocFnData>),
|
||||
AssocType(AssocContainer),
|
||||
AssocOpaqueTy(AssocContainer),
|
||||
AssocConst(AssocContainer, mir::ConstQualifs, Lazy<RenderedConst>),
|
||||
@ -392,7 +392,7 @@ impl AssocContainer {
|
||||
}
|
||||
|
||||
#[derive(RustcEncodable, RustcDecodable)]
|
||||
struct MethodData {
|
||||
struct AssocFnData {
|
||||
fn_data: FnData,
|
||||
container: AssocContainer,
|
||||
has_self: bool,
|
||||
|
Loading…
Reference in New Issue
Block a user