about summary refs log tree commit diff
path: root/tests/ui/lazy-type-alias/unconstrained-params-in-impl-due-to-overflow.rs
blob: 7bc91ef426b6c771f22f85565602b4098968aa11 (plain)
1
2
3
4
5
6
7
8
#![feature(lazy_type_alias)]
#![allow(incomplete_features)]

impl<T> Loop<T> {} //~ ERROR the type parameter `T` is not constrained

type Loop<T> = Loop<T>; //~ ERROR overflow

fn main() {}