]>
Commit | Line | Data |
---|---|---|
b7449926 XL |
1 | error[E0433]: failed to resolve. Use of undeclared type or module `dyn` |
2 | --> $DIR/dyn-trait-compatibility.rs:13:11 | |
3 | | | |
4 | LL | type A1 = dyn::dyn; | |
5 | | ^^^ Use of undeclared type or module `dyn` | |
6 | ||
7 | error[E0433]: failed to resolve. Use of undeclared type or module `dyn` | |
8 | --> $DIR/dyn-trait-compatibility.rs:19:23 | |
9 | | | |
10 | LL | type A3 = dyn<<dyn as dyn>::dyn>; | |
11 | | ^^^ Use of undeclared type or module `dyn` | |
12 | ||
13 | error[E0412]: cannot find type `dyn` in this scope | |
14 | --> $DIR/dyn-trait-compatibility.rs:11:11 | |
15 | | | |
16 | LL | type A0 = dyn; | |
17 | | ^^^ not found in this scope | |
18 | ||
19 | error[E0412]: cannot find type `dyn` in this scope | |
20 | --> $DIR/dyn-trait-compatibility.rs:15:11 | |
21 | | | |
22 | LL | type A2 = dyn<dyn, dyn>; | |
23 | | ^^^ not found in this scope | |
24 | ||
25 | error[E0412]: cannot find type `dyn` in this scope | |
26 | --> $DIR/dyn-trait-compatibility.rs:15:15 | |
27 | | | |
28 | LL | type A2 = dyn<dyn, dyn>; | |
29 | | ^^^ not found in this scope | |
30 | ||
31 | error[E0412]: cannot find type `dyn` in this scope | |
32 | --> $DIR/dyn-trait-compatibility.rs:15:20 | |
33 | | | |
34 | LL | type A2 = dyn<dyn, dyn>; | |
35 | | ^^^ not found in this scope | |
36 | ||
37 | error[E0412]: cannot find type `dyn` in this scope | |
38 | --> $DIR/dyn-trait-compatibility.rs:19:11 | |
39 | | | |
40 | LL | type A3 = dyn<<dyn as dyn>::dyn>; | |
41 | | ^^^ not found in this scope | |
42 | ||
43 | error[E0412]: cannot find type `dyn` in this scope | |
44 | --> $DIR/dyn-trait-compatibility.rs:19:16 | |
45 | | | |
46 | LL | type A3 = dyn<<dyn as dyn>::dyn>; | |
47 | | ^^^ not found in this scope | |
48 | ||
49 | error: aborting due to 8 previous errors | |
50 | ||
51 | Some errors occurred: E0412, E0433. | |
52 | For more information about an error, try `rustc --explain E0412`. |