// Regression test of #36638. struct Foo(Self); //~^ ERROR unexpected keyword `Self` in generic parameters //~| ERROR recursive type `Foo` has infinite size trait Bar {} //~^ ERROR unexpected keyword `Self` in generic parameters fn main() {}