rust/tests/ui/error-codes/E0449.rs
2023-01-11 09:32:08 +00:00

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() {
}