morine0122 | ac1bee6 | 2024-04-12 03:40:11 | [diff] [blame] | 1 | //@ run-rustfix |
2 | |||||
3 | #![allow(warnings)] | ||||
4 | |||||
5 | struct Bar; | ||||
6 | |||||
7 | trait Foo { | ||||
8 | fn foo(); | ||||
9 | } | ||||
10 | |||||
11 | impl Bar {} //~ ERROR E0449 | ||||
12 | |||||
13 | impl Foo for Bar { //~ ERROR E0449 | ||||
14 | fn foo() {} //~ ERROR E0449 | ||||
15 | } | ||||
16 | |||||
17 | fn main() { | ||||
18 | } |