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