fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2fn main() { 3 assert_eq!(1, 1); 4 //~^ ERROR expected function, found macro `assert_eq` 5 assert_eq! { 1, 1 }; 6 //~^ ERROR expected struct, variant or union type, found macro `assert_eq` 7 //~| ERROR expected identifier, found `1` 8 //~| ERROR expected identifier, found `1` 9 assert![true]; 10 //~^ ERROR expected value, found macro `assert` 11}