Skip to content

Commit 45e5627

Browse files
committed
Update debug messages to match the new names of the methods they are in.
1 parent c7ef9c1 commit 45e5627

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/librustc/middle/traits/fulfill.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ fn process_predicate<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
394394
ty::Predicate::Projection(ref data) => {
395395
let project_obligation = obligation.with(data.clone());
396396
let result = project::poly_project_and_unify_type(selcx, &project_obligation);
397-
debug!("poly_project_and_unify_type({}) = {}",
397+
debug!("process_predicate: poly_project_and_unify_type({}) returned {}",
398398
project_obligation.repr(tcx),
399399
result.repr(tcx));
400400
match result {

src/librustc/middle/traits/project.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub fn poly_project_and_unify_type<'cx,'tcx>(
6565
obligation: &PolyProjectionObligation<'tcx>)
6666
-> Result<Option<Vec<PredicateObligation<'tcx>>>, MismatchedProjectionTypes<'tcx>>
6767
{
68-
debug!("poly_project(obligation={})",
68+
debug!("poly_project_and_unify_type(obligation={})",
6969
obligation.repr(selcx.tcx()));
7070

7171
let infcx = selcx.infcx();
@@ -109,7 +109,7 @@ fn project_and_unify_type<'cx,'tcx>(
109109
obligation: &ProjectionObligation<'tcx>)
110110
-> Result<Option<Vec<PredicateObligation<'tcx>>>, MismatchedProjectionTypes<'tcx>>
111111
{
112-
debug!("project_and_unify(obligation={})",
112+
debug!("project_and_unify_type(obligation={})",
113113
obligation.repr(selcx.tcx()));
114114

115115
let Normalized { value: normalized_ty, obligations } =

0 commit comments

Comments
 (0)