parent
acf50ee236
commit
0d1b79a01a
|
@ -856,7 +856,7 @@ for traits::Vtable<'gcx, N> where N: HashStable<StableHashingContext<'gcx>> {
|
|||
|
||||
match self {
|
||||
&VtableImpl(ref table_impl) => table_impl.hash_stable(hcx, hasher),
|
||||
&VtableDefaultImpl(ref table_def_impl) => table_def_impl.hash_stable(hcx, hasher),
|
||||
&VtableAutoImpl(ref table_def_impl) => table_def_impl.hash_stable(hcx, hasher),
|
||||
&VtableParam(ref table_param) => table_param.hash_stable(hcx, hasher),
|
||||
&VtableObject(ref table_obj) => table_obj.hash_stable(hcx, hasher),
|
||||
&VtableBuiltin(ref table_builtin) => table_builtin.hash_stable(hcx, hasher),
|
||||
|
@ -884,11 +884,11 @@ for traits::VtableImplData<'gcx, N> where N: HashStable<StableHashingContext<'gc
|
|||
}
|
||||
|
||||
impl<'gcx, N> HashStable<StableHashingContext<'gcx>>
|
||||
for traits::VtableDefaultImplData<N> where N: HashStable<StableHashingContext<'gcx>> {
|
||||
for traits::VtableAutoImplData<N> where N: HashStable<StableHashingContext<'gcx>> {
|
||||
fn hash_stable<W: StableHasherResult>(&self,
|
||||
hcx: &mut StableHashingContext<'gcx>,
|
||||
hasher: &mut StableHasher<W>) {
|
||||
let traits::VtableDefaultImplData {
|
||||
let traits::VtableAutoImplData {
|
||||
trait_def_id,
|
||||
ref nested,
|
||||
} = *self;
|
||||
|
|
Loading…
Reference in New Issue