Fix Repr impl for method::Candidate to include the method_ty.
This commit is contained in:
parent
6b5ca8b1aa
commit
ab8e02616c
@ -1436,9 +1436,10 @@ impl<'a> LookupContext<'a> {
|
||||
|
||||
impl Repr for Candidate {
|
||||
fn repr(&self, tcx: &ty::ctxt) -> ~str {
|
||||
format!("Candidate(rcvr_ty={}, rcvr_substs={}, origin={:?})",
|
||||
format!("Candidate(rcvr_ty={}, rcvr_substs={}, method_ty={}, origin={:?})",
|
||||
self.rcvr_match_condition.repr(tcx),
|
||||
self.rcvr_substs.repr(tcx),
|
||||
self.method_ty.repr(tcx),
|
||||
self.origin)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user