1 error[E0433]: failed to resolve: use of undeclared crate or module `dyn`
2 --> $DIR/dyn-trait-compatibility.rs:3:11
4 LL | type A1 = dyn::dyn;
5 | ^^^ use of undeclared crate or module `dyn`
7 error[E0433]: failed to resolve: use of undeclared crate or module `dyn`
8 --> $DIR/dyn-trait-compatibility.rs:9:23
10 LL | type A3 = dyn<<dyn as dyn>::dyn>;
11 | ^^^ use of undeclared crate or module `dyn`
13 error[E0412]: cannot find type `dyn` in this scope
14 --> $DIR/dyn-trait-compatibility.rs:1:11
17 | ^^^ not found in this scope
19 error[E0412]: cannot find type `dyn` in this scope
20 --> $DIR/dyn-trait-compatibility.rs:5:11
22 LL | type A2 = dyn<dyn, dyn>;
23 | ^^^ not found in this scope
25 error[E0412]: cannot find type `dyn` in this scope
26 --> $DIR/dyn-trait-compatibility.rs:5:15
28 LL | type A2 = dyn<dyn, dyn>;
29 | - ^^^ not found in this scope
31 | help: you might be missing a type parameter: `<dyn>`
33 error[E0412]: cannot find type `dyn` in this scope
34 --> $DIR/dyn-trait-compatibility.rs:5:20
36 LL | type A2 = dyn<dyn, dyn>;
37 | - ^^^ not found in this scope
39 | help: you might be missing a type parameter: `<dyn>`
41 error[E0412]: cannot find type `dyn` in this scope
42 --> $DIR/dyn-trait-compatibility.rs:9:11
44 LL | type A3 = dyn<<dyn as dyn>::dyn>;
45 | ^^^ not found in this scope
47 error[E0412]: cannot find type `dyn` in this scope
48 --> $DIR/dyn-trait-compatibility.rs:9:16
50 LL | type A3 = dyn<<dyn as dyn>::dyn>;
51 | - ^^^ not found in this scope
53 | help: you might be missing a type parameter: `<dyn>`
55 error: aborting due to 8 previous errors
57 Some errors have detailed explanations: E0412, E0433.
58 For more information about an error, try `rustc --explain E0412`.