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