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
= help: consider using a struct, enum, or union instead to break the cycle
10
10
= help: see <https://doc.rust-lang.org/reference/types.html#recursive-types> for more information
11
-
note: cycle used when collecting item types in top-level module
11
+
note: cycle used when checking that `Bar` is well-formed
LL | type Bar<'a, 'b> = Box<dyn PartialEq<Bar<'a, 'b>>>;
15
+
| ^^^^^^^^^^^^^^^^
22
16
= 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
= note: ...which again requires computing predicates of `Foo`, completing the cycle
29
-
note: cycle used when collecting item types in top-level module
30
-
--> $DIR/cycle-iat-inside-of-adt.rs:3:1
29
+
note: cycle used when checking that `Foo` is well-formed
30
+
--> $DIR/cycle-iat-inside-of-adt.rs:7:1
31
31
|
32
-
LL | / #![feature(inherent_associated_types)]
33
-
LL | | #![allow(incomplete_features)]
34
-
LL | | // FIXME(inherent_associated_types): This should pass.
35
-
LL | |
36
-
... |
37
-
LL | |
38
-
LL | | fn main() {}
39
-
| |____________^
32
+
LL | struct Foo {
33
+
| ^^^^^^^^^^
40
34
= 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
LL | fn user<T>() where S<T>::P: std::fmt::Debug {}
27
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34
28
= 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
0 commit comments