]>
Commit | Line | Data |
---|---|---|
353b0b11 | 1 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 2 | --> $DIR/privacy-sanity.rs:13:1 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | pub impl Tr for S { |
e8be2606 | 5 | | ^^^ help: remove the qualifier |
353b0b11 FG |
6 | | |
7 | = note: trait items always share the visibility of their trait | |
b7449926 | 8 | |
353b0b11 | 9 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 10 | --> $DIR/privacy-sanity.rs:14:5 |
b7449926 | 11 | | |
532ac7d7 | 12 | LL | pub fn f() {} |
e8be2606 | 13 | | ^^^ help: remove the qualifier |
353b0b11 FG |
14 | | |
15 | = note: trait items always share the visibility of their trait | |
b7449926 | 16 | |
353b0b11 | 17 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 18 | --> $DIR/privacy-sanity.rs:15:5 |
b7449926 | 19 | | |
532ac7d7 | 20 | LL | pub const C: u8 = 0; |
e8be2606 | 21 | | ^^^ help: remove the qualifier |
353b0b11 FG |
22 | | |
23 | = note: trait items always share the visibility of their trait | |
b7449926 | 24 | |
353b0b11 | 25 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 26 | --> $DIR/privacy-sanity.rs:16:5 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | pub type T = u8; |
e8be2606 | 29 | | ^^^ help: remove the qualifier |
353b0b11 FG |
30 | | |
31 | = note: trait items always share the visibility of their trait | |
b7449926 | 32 | |
353b0b11 | 33 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 34 | --> $DIR/privacy-sanity.rs:18:1 |
b7449926 | 35 | | |
532ac7d7 | 36 | LL | pub impl S { |
e8be2606 | 37 | | ^^^ help: remove the qualifier |
b7449926 XL |
38 | | |
39 | = note: place qualifiers on individual impl items instead | |
40 | ||
353b0b11 | 41 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 42 | --> $DIR/privacy-sanity.rs:23:1 |
b7449926 | 43 | | |
532ac7d7 | 44 | LL | pub extern "C" { |
e8be2606 | 45 | | ^^^ help: remove the qualifier |
b7449926 XL |
46 | | |
47 | = note: place qualifiers on individual foreign items instead | |
48 | ||
353b0b11 | 49 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 50 | --> $DIR/privacy-sanity.rs:39:5 |
b7449926 | 51 | | |
532ac7d7 | 52 | LL | pub impl Tr for S { |
e8be2606 | 53 | | ^^^ help: remove the qualifier |
353b0b11 FG |
54 | | |
55 | = note: trait items always share the visibility of their trait | |
b7449926 | 56 | |
353b0b11 | 57 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 58 | --> $DIR/privacy-sanity.rs:40:9 |
b7449926 | 59 | | |
532ac7d7 | 60 | LL | pub fn f() {} |
e8be2606 | 61 | | ^^^ help: remove the qualifier |
353b0b11 FG |
62 | | |
63 | = note: trait items always share the visibility of their trait | |
b7449926 | 64 | |
353b0b11 | 65 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 66 | --> $DIR/privacy-sanity.rs:41:9 |
b7449926 | 67 | | |
532ac7d7 | 68 | LL | pub const C: u8 = 0; |
e8be2606 | 69 | | ^^^ help: remove the qualifier |
353b0b11 FG |
70 | | |
71 | = note: trait items always share the visibility of their trait | |
b7449926 | 72 | |
353b0b11 | 73 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 74 | --> $DIR/privacy-sanity.rs:42:9 |
b7449926 | 75 | | |
532ac7d7 | 76 | LL | pub type T = u8; |
e8be2606 | 77 | | ^^^ help: remove the qualifier |
353b0b11 FG |
78 | | |
79 | = note: trait items always share the visibility of their trait | |
b7449926 | 80 | |
353b0b11 | 81 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 82 | --> $DIR/privacy-sanity.rs:44:5 |
b7449926 | 83 | | |
532ac7d7 | 84 | LL | pub impl S { |
e8be2606 | 85 | | ^^^ help: remove the qualifier |
b7449926 XL |
86 | | |
87 | = note: place qualifiers on individual impl items instead | |
88 | ||
353b0b11 | 89 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 90 | --> $DIR/privacy-sanity.rs:49:5 |
b7449926 | 91 | | |
532ac7d7 | 92 | LL | pub extern "C" { |
e8be2606 | 93 | | ^^^ help: remove the qualifier |
b7449926 XL |
94 | | |
95 | = note: place qualifiers on individual foreign items instead | |
96 | ||
353b0b11 | 97 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 98 | --> $DIR/privacy-sanity.rs:68:5 |
b7449926 | 99 | | |
532ac7d7 | 100 | LL | pub impl Tr for S { |
e8be2606 | 101 | | ^^^ help: remove the qualifier |
353b0b11 FG |
102 | | |
103 | = note: trait items always share the visibility of their trait | |
b7449926 | 104 | |
353b0b11 | 105 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 106 | --> $DIR/privacy-sanity.rs:69:9 |
b7449926 | 107 | | |
532ac7d7 | 108 | LL | pub fn f() {} |
e8be2606 | 109 | | ^^^ help: remove the qualifier |
353b0b11 FG |
110 | | |
111 | = note: trait items always share the visibility of their trait | |
b7449926 | 112 | |
353b0b11 | 113 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 114 | --> $DIR/privacy-sanity.rs:70:9 |
b7449926 | 115 | | |
532ac7d7 | 116 | LL | pub const C: u8 = 0; |
e8be2606 | 117 | | ^^^ help: remove the qualifier |
353b0b11 FG |
118 | | |
119 | = note: trait items always share the visibility of their trait | |
b7449926 | 120 | |
353b0b11 | 121 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 122 | --> $DIR/privacy-sanity.rs:71:9 |
b7449926 | 123 | | |
532ac7d7 | 124 | LL | pub type T = u8; |
e8be2606 | 125 | | ^^^ help: remove the qualifier |
353b0b11 FG |
126 | | |
127 | = note: trait items always share the visibility of their trait | |
b7449926 | 128 | |
353b0b11 | 129 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 130 | --> $DIR/privacy-sanity.rs:73:5 |
b7449926 | 131 | | |
532ac7d7 | 132 | LL | pub impl S { |
e8be2606 | 133 | | ^^^ help: remove the qualifier |
b7449926 XL |
134 | | |
135 | = note: place qualifiers on individual impl items instead | |
136 | ||
353b0b11 | 137 | error[E0449]: visibility qualifiers are not permitted here |
0731742a | 138 | --> $DIR/privacy-sanity.rs:78:5 |
b7449926 | 139 | | |
532ac7d7 | 140 | LL | pub extern "C" { |
e8be2606 | 141 | | ^^^ help: remove the qualifier |
b7449926 XL |
142 | | |
143 | = note: place qualifiers on individual foreign items instead | |
144 | ||
145 | error: aborting due to 18 previous errors | |
146 | ||
147 | For more information about this error, try `rustc --explain E0449`. |