about summary refs log tree commit diff
path: root/tests/ui/error-codes/E0449.fixed
blob: c7b4566303dc0350a4adcb9d9ca0668b30c84d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//@ 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() {
}