]> git.proxmox.com Git - rustc.git/blame - src/test/ui/dyn-trait-compatibility.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / dyn-trait-compatibility.stderr
CommitLineData
13cf67c4 1error[E0433]: failed to resolve: use of undeclared type or module `dyn`
0731742a 2 --> $DIR/dyn-trait-compatibility.rs:3:11
b7449926
XL
3 |
4LL | type A1 = dyn::dyn;
13cf67c4 5 | ^^^ use of undeclared type or module `dyn`
b7449926 6
13cf67c4 7error[E0433]: failed to resolve: use of undeclared type or module `dyn`
0731742a 8 --> $DIR/dyn-trait-compatibility.rs:9:23
b7449926
XL
9 |
10LL | type A3 = dyn<<dyn as dyn>::dyn>;
13cf67c4 11 | ^^^ use of undeclared type or module `dyn`
b7449926
XL
12
13error[E0412]: cannot find type `dyn` in this scope
0731742a 14 --> $DIR/dyn-trait-compatibility.rs:1:11
b7449926
XL
15 |
16LL | type A0 = dyn;
17 | ^^^ not found in this scope
18
19error[E0412]: cannot find type `dyn` in this scope
0731742a 20 --> $DIR/dyn-trait-compatibility.rs:5:11
b7449926
XL
21 |
22LL | type A2 = dyn<dyn, dyn>;
23 | ^^^ not found in this scope
24
25error[E0412]: cannot find type `dyn` in this scope
0731742a 26 --> $DIR/dyn-trait-compatibility.rs:5:15
b7449926
XL
27 |
28LL | type A2 = dyn<dyn, dyn>;
29 | ^^^ not found in this scope
30
31error[E0412]: cannot find type `dyn` in this scope
0731742a 32 --> $DIR/dyn-trait-compatibility.rs:5:20
b7449926
XL
33 |
34LL | type A2 = dyn<dyn, dyn>;
35 | ^^^ not found in this scope
36
37error[E0412]: cannot find type `dyn` in this scope
0731742a 38 --> $DIR/dyn-trait-compatibility.rs:9:11
b7449926
XL
39 |
40LL | type A3 = dyn<<dyn as dyn>::dyn>;
41 | ^^^ not found in this scope
42
43error[E0412]: cannot find type `dyn` in this scope
0731742a 44 --> $DIR/dyn-trait-compatibility.rs:9:16
b7449926
XL
45 |
46LL | type A3 = dyn<<dyn as dyn>::dyn>;
47 | ^^^ not found in this scope
48
49error: aborting due to 8 previous errors
50
48663c56 51Some errors have detailed explanations: E0412, E0433.
b7449926 52For more information about an error, try `rustc --explain E0412`.