Closed
Description
https://github.com/rust-lang/rust/pull/33939/files#diff-3d823311f2b08736340d87893d91e770R471
+ Ok((autoderef,
+ ty::MethodCallee {
+ def_id: this.read_struct_field("def_id", 1, |this| Ok(this.read_def_id(dcx)))
+ .unwrap(),
+ ty: this.read_struct_field("ty", 2, |this| Ok(this.read_ty(dcx)))
+ .unwrap(),
+ substs: this.read_struct_field("substs", 3, |this| {
+ Ok(dcx.tcx.mk_substs(this.read_substs(dcx)))
+ })
+ .unwrap(),
+ }))