mirror of https://github.com/rust-lang/rust.git
7 lines
94 B
Rust
7 lines
94 B
Rust
|
trait Foo {
|
||
|
pub fn foo();
|
||
|
//~^ ERROR unnecessary visibility qualifier
|
||
|
}
|
||
|
|
||
|
fn main() {}
|