]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-type-in-interface.stderr
Auto merge of #53286 - nagisa:cast-assumes, r=eddyb
[rust.git] / src / test / ui / privacy / private-type-in-interface.stderr
1 error: type `m::Priv` is private
2   --> $DIR/private-type-in-interface.rs:25:9
3    |
4 LL | fn f(_: m::Alias) {} //~ ERROR type `m::Priv` is private
5    |         ^^^^^^^^
6
7 error: type `m::Priv` is private
8   --> $DIR/private-type-in-interface.rs:25:6
9    |
10 LL | fn f(_: m::Alias) {} //~ ERROR type `m::Priv` is private
11    |      ^
12
13 error: type `ext::Priv` is private
14   --> $DIR/private-type-in-interface.rs:27:13
15    |
16 LL | fn f_ext(_: ext::Alias) {} //~ ERROR type `ext::Priv` is private
17    |             ^^^^^^^^^^
18
19 error: type `ext::Priv` is private
20   --> $DIR/private-type-in-interface.rs:27:10
21    |
22 LL | fn f_ext(_: ext::Alias) {} //~ ERROR type `ext::Priv` is private
23    |          ^
24
25 error: type `m::Priv` is private
26   --> $DIR/private-type-in-interface.rs:31:6
27    |
28 LL | impl m::Alias {} //~ ERROR type `m::Priv` is private
29    |      ^^^^^^^^
30
31 error: type `ext::Priv` is private
32   --> $DIR/private-type-in-interface.rs:32:14
33    |
34 LL | impl Tr1 for ext::Alias {} //~ ERROR type `ext::Priv` is private
35    |              ^^^^^^^^^^
36
37 error: type `m::Priv` is private
38   --> $DIR/private-type-in-interface.rs:33:10
39    |
40 LL | type A = <m::Alias as m::Trait>::X; //~ ERROR type `m::Priv` is private
41    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 error: type `m::Priv` is private
44   --> $DIR/private-type-in-interface.rs:37:11
45    |
46 LL | fn g() -> impl Tr2<m::Alias> { 0 } //~ ERROR type `m::Priv` is private
47    |           ^^^^^^^^^^^^^^^^^^
48
49 error: type `m::Priv` is private
50   --> $DIR/private-type-in-interface.rs:37:16
51    |
52 LL | fn g() -> impl Tr2<m::Alias> { 0 } //~ ERROR type `m::Priv` is private
53    |                ^^^^^^^^^^^^^
54
55 error: type `ext::Priv` is private
56   --> $DIR/private-type-in-interface.rs:39:15
57    |
58 LL | fn g_ext() -> impl Tr2<ext::Alias> { 0 } //~ ERROR type `ext::Priv` is private
59    |               ^^^^^^^^^^^^^^^^^^^^
60
61 error: type `ext::Priv` is private
62   --> $DIR/private-type-in-interface.rs:39:20
63    |
64 LL | fn g_ext() -> impl Tr2<ext::Alias> { 0 } //~ ERROR type `ext::Priv` is private
65    |                    ^^^^^^^^^^^^^^^
66
67 error: aborting due to 11 previous errors
68