about summary refs log tree commit diff
path: root/tests/ui/infinite/infinite-vec-type-recursion.feature.stderr
blob: 3e07a46ea2684178547010aa75cdd1b1e77e4229 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0275]: overflow normalizing the type alias `X`
  --> $DIR/infinite-vec-type-recursion.rs:6:1
   |
LL | type X = Vec<X>;
   | ^^^^^^
   |
   = note: in case this is a recursive type alias, consider using a struct, enum, or union instead

error: aborting due to 1 previous error

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