1 // ignore-compare-mode-chalk
6 const FUN: fn() -> Self::Item;
10 type Item = impl Bug; //~ ERROR `impl Trait` in type aliases is unstable
11 //~^ ERROR the trait bound `(): Bug` is not satisfied
12 //~^^ ERROR the trait bound `(): Bug` is not satisfied
14 const FUN: fn() -> Self::Item = || ();
15 //~^ ERROR type alias impl trait is not permitted here