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