fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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