fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
1.9 KiB58 linesraw
1error[E0433]: failed to resolve: use of undeclared type or module `dyn`
2  --> $DIR/dyn-trait-compatibility.rs:3:11
3   |
4LL | type A1 = dyn::dyn;
5   |           ^^^ use of undeclared type or module `dyn`
6
7error[E0433]: failed to resolve: use of undeclared type or module `dyn`
8  --> $DIR/dyn-trait-compatibility.rs:9:23
9   |
10LL | type A3 = dyn<<dyn as dyn>::dyn>;
11   |                       ^^^ use of undeclared type or module `dyn`
12
13error[E0412]: cannot find type `dyn` in this scope
14  --> $DIR/dyn-trait-compatibility.rs:1:11
15   |
16LL | type A0 = dyn;
17   |           ^^^ not found in this scope
18
19error[E0412]: cannot find type `dyn` in this scope
20  --> $DIR/dyn-trait-compatibility.rs:5:11
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:5:15
27   |
28LL | type A2 = dyn<dyn, dyn>;
29   |        -      ^^^ not found in this scope
30   |        |
31   |        help: you might be missing a type parameter: `<dyn>`
32
33error[E0412]: cannot find type `dyn` in this scope
34  --> $DIR/dyn-trait-compatibility.rs:5:20
35   |
36LL | type A2 = dyn<dyn, dyn>;
37   |        -           ^^^ not found in this scope
38   |        |
39   |        help: you might be missing a type parameter: `<dyn>`
40
41error[E0412]: cannot find type `dyn` in this scope
42  --> $DIR/dyn-trait-compatibility.rs:9:11
43   |
44LL | type A3 = dyn<<dyn as dyn>::dyn>;
45   |           ^^^ not found in this scope
46
47error[E0412]: cannot find type `dyn` in this scope
48  --> $DIR/dyn-trait-compatibility.rs:9:16
49   |
50LL | type A3 = dyn<<dyn as dyn>::dyn>;
51   |        -       ^^^ not found in this scope
52   |        |
53   |        help: you might be missing a type parameter: `<dyn>`
54
55error: aborting due to 8 previous errors
56
57Some errors have detailed explanations: E0412, E0433.
58For more information about an error, try `rustc --explain E0412`.