2 //~^ ERROR cannot find type `dyn` in this scope
4 //~^ ERROR use of undeclared type or module `dyn`
5 type A2 = dyn<dyn, dyn>;
6 //~^ ERROR cannot find type `dyn` in this scope
7 //~| ERROR cannot find type `dyn` in this scope
8 //~| ERROR cannot find type `dyn` in this scope
9 type A3 = dyn<<dyn as dyn>::dyn>;
10 //~^ ERROR cannot find type `dyn` in this scope
11 //~| ERROR cannot find type `dyn` in this scope
12 //~| ERROR use of undeclared type or module `dyn`