]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/privacy1.stderr
test: Ignore ui/target-feature-gate on sparc and sparc64
[rust.git] / src / test / ui / privacy / privacy1.stderr
1 error[E0603]: module `baz` is private
2   --> $DIR/privacy1.rs:128:18
3    |
4 LL |         use bar::baz::{foo, bar};
5    |                  ^^^
6
7 error[E0603]: module `baz` is private
8   --> $DIR/privacy1.rs:136:18
9    |
10 LL |         use bar::baz;
11    |                  ^^^
12
13 error[E0603]: module `i` is private
14   --> $DIR/privacy1.rs:160:20
15    |
16 LL |     use self::foo::i::A; //~ ERROR: module `i` is private
17    |                    ^
18
19 error[E0603]: module `baz` is private
20   --> $DIR/privacy1.rs:100:16
21    |
22 LL |         ::bar::baz::A::foo();   //~ ERROR: module `baz` is private
23    |                ^^^
24
25 error[E0603]: module `baz` is private
26   --> $DIR/privacy1.rs:101:16
27    |
28 LL |         ::bar::baz::A::bar();   //~ ERROR: module `baz` is private
29    |                ^^^
30
31 error[E0603]: module `baz` is private
32   --> $DIR/privacy1.rs:103:16
33    |
34 LL |         ::bar::baz::A.foo2();   //~ ERROR: module `baz` is private
35    |                ^^^
36
37 error[E0603]: module `baz` is private
38   --> $DIR/privacy1.rs:104:16
39    |
40 LL |         ::bar::baz::A.bar2();   //~ ERROR: module `baz` is private
41    |                ^^^
42
43 error[E0603]: trait `B` is private
44   --> $DIR/privacy1.rs:108:16
45    |
46 LL |         ::bar::B::foo();        //~ ERROR: trait `B` is private
47    |                ^
48
49 error[E0603]: function `epriv` is private
50   --> $DIR/privacy1.rs:114:20
51    |
52 LL |             ::bar::epriv(); //~ ERROR: function `epriv` is private
53    |                    ^^^^^
54
55 error[E0603]: module `baz` is private
56   --> $DIR/privacy1.rs:123:16
57    |
58 LL |         ::bar::baz::foo(); //~ ERROR: module `baz` is private
59    |                ^^^
60
61 error[E0603]: module `baz` is private
62   --> $DIR/privacy1.rs:124:16
63    |
64 LL |         ::bar::baz::bar(); //~ ERROR: module `baz` is private
65    |                ^^^
66
67 error[E0603]: trait `B` is private
68   --> $DIR/privacy1.rs:152:17
69    |
70 LL |     impl ::bar::B for f32 { fn foo() -> f32 { 1.0 } }
71    |                 ^
72
73 error[E0624]: method `bar` is private
74   --> $DIR/privacy1.rs:73:9
75    |
76 LL |         self::baz::A::bar(); //~ ERROR: method `bar` is private
77    |         ^^^^^^^^^^^^^^^^^
78
79 error[E0624]: method `bar` is private
80   --> $DIR/privacy1.rs:91:5
81    |
82 LL |     bar::A::bar(); //~ ERROR: method `bar` is private
83    |     ^^^^^^^^^^^
84
85 error[E0624]: method `bar` is private
86   --> $DIR/privacy1.rs:98:9
87    |
88 LL |         ::bar::A::bar();        //~ ERROR: method `bar` is private
89    |         ^^^^^^^^^^^^^
90
91 error[E0624]: method `bar` is private
92   --> $DIR/privacy1.rs:101:9
93    |
94 LL |         ::bar::baz::A::bar();   //~ ERROR: module `baz` is private
95    |         ^^^^^^^^^^^^^^^^^^
96
97 error[E0624]: method `bar2` is private
98   --> $DIR/privacy1.rs:104:23
99    |
100 LL |         ::bar::baz::A.bar2();   //~ ERROR: module `baz` is private
101    |                       ^^^^
102
103 error: aborting due to 17 previous errors
104
105 Some errors occurred: E0603, E0624.
106 For more information about an error, try `rustc --explain E0603`.