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