type X = Vec; //~^ ERROR cycle detected fn main() { let b: X = Vec::new(); }