blob: c051d11d376c8300ec9be68212c9b6eeb466201a [file] [log] [blame]
//@ revisions: feature gated
#![cfg_attr(feature, feature(lazy_type_alias))]
#![allow(incomplete_features)]
type X = Vec<X>;
//[gated]~^ ERROR cycle detected
//[feature]~^^ ERROR: overflow normalizing the type alias `X`
#[rustfmt::skip]
fn main() { let b: X = Vec::new(); }