]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/issue-38371.fixed
Update unsuspicious file list
[rustc.git] / src / test / ui / mismatched_types / issue-38371.fixed
1 // run-rustfix
2 // see also issue-38371-unfixable.rs
3 #![allow(dead_code)]
4
5 #[derive(Copy, Clone)]
6 struct Foo {}
7
8 fn foo(_a: &Foo) {} //~ ERROR mismatched types
9
10 fn bar(_a: Foo) {}
11
12 fn qux(_a: &Foo) {}
13
14 fn zar(&_a: &Foo) {}
15
16 fn agh(&_a: &u32) {} //~ ERROR mismatched types
17
18 fn main() {}