blob: d0e6e9db07e9bfa6b970c68a35deae6d8ce63671 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error[E0391]: cycle detected when computing layout of `Foo<()>`
|
= note: ...which requires computing layout of `<() as A>::Assoc`...
= note: ...which again requires computing layout of `Foo<()>`, completing the cycle
note: cycle used when elaborating drops for `main`
--> $DIR/recursive-type-2.rs:11:1
|
LL | fn main() {
| ^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0391`.
|