1 error[E0391]: cycle detected when computing type of `X`
2 --> $DIR/infinite-vec-type-recursion.rs:1:14
7 = note: ...which again requires computing type of `X`, completing the cycle
8 note: cycle used when collecting item types in top-level module
9 --> $DIR/infinite-vec-type-recursion.rs:1:1
11 LL | / type X = Vec<X>;
14 LL | | fn main() { let b: X = Vec::new(); }
15 | |____________________________________^
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0391`.