mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
14 lines
167 B
Rust
14 lines
167 B
Rust
struct Bar;
|
|
|
|
trait Foo {
|
|
fn foo();
|
|
}
|
|
|
|
pub impl Bar {} //~ ERROR E0449
|
|
|
|
pub impl Foo for Bar { //~ ERROR E0449
|
|
pub fn foo() {} //~ ERROR E0449
|
|
}
|
|
|
|
fn main() {
|
|
}
|