fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2 3pub fn f() -> String { //~ ERROR mismatched types 4 0u8; 5 "bla".to_string() 6} 7 8pub fn g() -> String { //~ ERROR mismatched types 9 "this won't work".to_string(); 10 "removeme".to_string() 11} 12 13pub fn macro_tests() -> u32 { //~ ERROR mismatched types 14 macro_rules! mac { 15 () => (1); 16 } 17 mac!() 18} 19 20fn main() {}