1
- error[E0391]: cycle detected when processing `cycle1::{{exist- impl-Trait}}`
1
+ error[E0391]: cycle detected when processing `cycle1::{{impl-Trait}}`
2
2
--> $DIR/auto-trait-leak.rs:24:16
3
3
|
4
4
LL | fn cycle1() -> impl Clone {
@@ -10,7 +10,7 @@ note: ...which requires processing `cycle1`...
10
10
LL | fn cycle1() -> impl Clone {
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^
12
12
note: ...which requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
13
- note: ...which requires processing `cycle2::{{exist- impl-Trait}}`...
13
+ note: ...which requires processing `cycle2::{{impl-Trait}}`...
14
14
--> $DIR/auto-trait-leak.rs:33:16
15
15
|
16
16
LL | fn cycle2() -> impl Clone {
@@ -21,9 +21,9 @@ note: ...which requires processing `cycle2`...
21
21
LL | fn cycle2() -> impl Clone {
22
22
| ^^^^^^^^^^^^^^^^^^^^^^^^^
23
23
note: ...which requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
24
- = note: ...which again requires processing `cycle1::{{exist- impl-Trait}}`, completing the cycle
24
+ = note: ...which again requires processing `cycle1::{{impl-Trait}}`, completing the cycle
25
25
26
- error[E0391]: cycle detected when processing `cycle1::{{exist- impl-Trait}}`
26
+ error[E0391]: cycle detected when processing `cycle1::{{impl-Trait}}`
27
27
--> $DIR/auto-trait-leak.rs:24:16
28
28
|
29
29
LL | fn cycle1() -> impl Clone {
@@ -35,7 +35,7 @@ note: ...which requires processing `cycle1`...
35
35
LL | fn cycle1() -> impl Clone {
36
36
| ^^^^^^^^^^^^^^^^^^^^^^^^^
37
37
note: ...which requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
38
- note: ...which requires processing `cycle2::{{exist- impl-Trait}}`...
38
+ note: ...which requires processing `cycle2::{{impl-Trait}}`...
39
39
--> $DIR/auto-trait-leak.rs:33:16
40
40
|
41
41
LL | fn cycle2() -> impl Clone {
@@ -45,7 +45,7 @@ note: ...which requires processing `cycle2`...
45
45
|
46
46
LL | fn cycle2() -> impl Clone {
47
47
| ^^^^^^^^^^^^^^^^^^^^^^^^^
48
- = note: ...which again requires processing `cycle1::{{exist- impl-Trait}}`, completing the cycle
48
+ = note: ...which again requires processing `cycle1::{{impl-Trait}}`, completing the cycle
49
49
50
50
error[E0277]: the trait bound `std::rc::Rc<std::string::String>: std::marker::Send` is not satisfied in `impl std::clone::Clone`
51
51
--> $DIR/auto-trait-leak.rs:27:5
0 commit comments