fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0449]: visibility qualifiers are not permitted here 2 --> $DIR/issue-113860-1.rs:12:5 3 | 4LL | pub(self) fn fun() {} 5 | ^^^^^^^^^ 6 | 7 = note: trait items always share the visibility of their trait 8 9error: module has missing stability attribute 10 --> $DIR/issue-113860-1.rs:1:1 11 | 12LL | / #![feature(staged_api)] 13LL | | 14LL | | 15LL | | pub trait Trait { 16... | 17LL | | 18LL | | fn main() {} 19 | |____________^ 20 21error: trait has missing stability attribute 22 --> $DIR/issue-113860-1.rs:4:1 23 | 24LL | / pub trait Trait { 25LL | | 26LL | | fn fun() {} 27LL | | 28LL | | } 29 | |_^ 30 31error: implementation has missing stability attribute 32 --> $DIR/issue-113860-1.rs:10:1 33 | 34LL | / impl Trait for u8 { 35LL | | 36LL | | pub(self) fn fun() {} 37LL | | 38LL | | } 39 | |_^ 40 41error: associated function has missing stability attribute 42 --> $DIR/issue-113860-1.rs:6:5 43 | 44LL | fn fun() {} 45 | ^^^^^^^^^^^ 46 47error: aborting due to 5 previous errors 48 49For more information about this error, try `rustc --explain E0449`.