mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
19 lines
196 B
Rust
19 lines
196 B
Rust
//@ run-rustfix
|
|
|
|
#![allow(warnings)]
|
|
|
|
struct Bar;
|
|
|
|
trait Foo {
|
|
fn foo();
|
|
}
|
|
|
|
impl Bar {} //~ ERROR E0449
|
|
|
|
impl Foo for Bar { //~ ERROR E0449
|
|
fn foo() {} //~ ERROR E0449
|
|
}
|
|
|
|
fn main() {
|
|
}
|