File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ impl<'tcx> QueryDescription<'tcx> for queries::normalize_ty_after_erasing_region
75
75
76
76
impl < ' tcx > QueryDescription < ' tcx > for queries:: evaluate_obligation < ' tcx > {
77
77
fn describe ( _tcx : TyCtxt , goal : CanonicalPredicateGoal < ' tcx > ) -> String {
78
- format ! ( "evaluating trait selection obligation `{:? }`" , goal)
78
+ format ! ( "evaluating trait selection obligation `{}`" , goal. value . value )
79
79
}
80
80
}
81
81
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ note: the cycle begins when processing `cycle1`...
39
39
|
40
40
LL | fn cycle1() -> impl Clone {
41
41
| ^^^^^^^^^^^^^^^^^^^^^^^^^
42
+ note: ...which then requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
42
43
note: ...which then requires processing `cycle2::{{impl-Trait}}`...
43
44
--> $DIR/auto-trait-leak.rs:52:16
44
45
|
@@ -49,6 +50,7 @@ note: ...which then requires processing `cycle2`...
49
50
|
50
51
LL | fn cycle2() -> impl Clone {
51
52
| ^^^^^^^^^^^^^^^^^^^^^^^^^
53
+ note: ...which then requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
52
54
note: ...which then requires processing `cycle1::{{impl-Trait}}`...
53
55
--> $DIR/auto-trait-leak.rs:44:16
54
56
|
You can’t perform that action at this time.
0 commit comments