]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-type-in-interface.stderr
update ui tests
[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:15:9
3    |
4 LL | fn f(_: m::Alias) {}
5    |         ^^^^^^^^
6
7 error: type `m::Priv` is private
8   --> $DIR/private-type-in-interface.rs:15:6
9    |
10 LL | fn f(_: m::Alias) {}
11    |      ^
12
13 error: type `ext::Priv` is private
14   --> $DIR/private-type-in-interface.rs:17:13
15    |
16 LL | fn f_ext(_: ext::Alias) {}
17    |             ^^^^^^^^^^
18
19 error: type `ext::Priv` is private
20   --> $DIR/private-type-in-interface.rs:17:10
21    |
22 LL | fn f_ext(_: ext::Alias) {}
23    |          ^
24
25 error: type `m::Priv` is private
26   --> $DIR/private-type-in-interface.rs:21:6
27    |
28 LL | impl m::Alias {}
29    |      ^^^^^^^^
30
31 error: type `ext::Priv` is private
32   --> $DIR/private-type-in-interface.rs:22:14
33    |
34 LL | impl Tr1 for ext::Alias {}
35    |              ^^^^^^^^^^
36
37 error: type `m::Priv` is private
38   --> $DIR/private-type-in-interface.rs:23:10
39    |
40 LL | type A = <m::Alias as m::Trait>::X;
41    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 error: type `m::Priv` is private
44   --> $DIR/private-type-in-interface.rs:27:11
45    |
46 LL | fn g() -> impl Tr2<m::Alias> { 0 }
47    |           ^^^^^^^^^^^^^^^^^^
48
49 error: type `ext::Priv` is private
50   --> $DIR/private-type-in-interface.rs:28:15
51    |
52 LL | fn g_ext() -> impl Tr2<ext::Alias> { 0 }
53    |               ^^^^^^^^^^^^^^^^^^^^
54
55 error: aborting due to 9 previous errors
56