blob: c051d11d376c8300ec9be68212c9b6eeb466201a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//@ 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(); }
|