rust/tests/ui/error-codes/E0449.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
167 B
Rust
Raw Normal View History

2016-08-19 14:44:47 +00:00
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() {
}