summaryrefslogtreecommitdiffstats
path: root/tests/ui/sized/recursive-type-2.stderr
blob: 4e7f40a01533cc99ce61dede1265c2d31b995a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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() {
   | ^^^^^^^^^
   = 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

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0391`.