mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-14 23:51:51 +00:00
15 lines
167 B
Rust
15 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() {
|
|
}
|