fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2 3struct Foo; 4 5impl From<i32> for Foo { 6 //~^ ERROR you might have meant to write `impl` instead of `fn` 7 fn from(_a: i32) -> Self { 8 Foo 9 } 10} 11 12fn main() {}