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