aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/infinite-vec-type-recursion.rs
blob: d81f60c14c481946ccf4278497b3eae2db7c943a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// xfail-boot
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-

// error-pattern: infinite recursive type definition

type x = vec[x];

fn main() {
  let x b = vec();
}