]>
git.proxmox.com Git - rustc.git/blob - tests/ui/parser/dyn-trait-compatibility.rs
2 //~^ ERROR cannot find type `dyn` in this scope
4 //~^ ERROR use of undeclared crate 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 cannot find trait `dyn` in this scope