You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0391]: cycle detected when computing type of `opaque::<impl at $DIR/fn-delegation-opaque-cycle.rs:25:5: 25:24>::opaque_ret::{anon_assoc#0}`
2
+
--> $DIR/fn-delegation-opaque-cycle.rs:26:25
3
+
|
4
+
LL | reuse to_reuse::opaque_ret;
5
+
| ^^^^^^^^^^
6
+
|
7
+
note: ...which requires comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process...
8
+
--> $DIR/fn-delegation-opaque-cycle.rs:26:25
9
+
|
10
+
LL | reuse to_reuse::opaque_ret;
11
+
| ^^^^^^^^^^
12
+
= note: ...which again requires computing type of `opaque::<impl at $DIR/fn-delegation-opaque-cycle.rs:25:5: 25:24>::opaque_ret::{anon_assoc#0}`, completing the cycle
13
+
note: cycle used when checking assoc item `opaque::<impl at $DIR/fn-delegation-opaque-cycle.rs:25:5: 25:24>::opaque_ret` is compatible with trait definition
14
+
--> $DIR/fn-delegation-opaque-cycle.rs:26:25
15
+
|
16
+
LL | reuse to_reuse::opaque_ret;
17
+
| ^^^^^^^^^^
18
+
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
19
+
20
+
error: aborting due to 1 previous error
21
+
22
+
For more information about this error, try `rustc --explain E0391`.
error[E0391]: cycle detected when computing type of `opaque::<impl at $DIR/fn-delegation-opaque-cycle.rs:25:5: 25:24>::opaque_ret::{anon_assoc#0}`
2
+
--> $DIR/fn-delegation-opaque-cycle.rs:26:25
3
+
|
4
+
LL | reuse to_reuse::opaque_ret;
5
+
| ^^^^^^^^^^
6
+
|
7
+
note: ...which requires comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process...
8
+
--> $DIR/fn-delegation-opaque-cycle.rs:26:25
9
+
|
10
+
LL | reuse to_reuse::opaque_ret;
11
+
| ^^^^^^^^^^
12
+
= note: ...which again requires computing type of `opaque::<impl at $DIR/fn-delegation-opaque-cycle.rs:25:5: 25:24>::opaque_ret::{anon_assoc#0}`, completing the cycle
13
+
= note: cycle used when computing implied outlives bounds for `<u8 as opaque::ToReuse>::opaque_ret::{anon_assoc#0}` (hack disabled = false)
14
+
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
15
+
16
+
error: aborting due to 1 previous error
17
+
18
+
For more information about this error, try `rustc --explain E0391`.
0 commit comments