summaryrefslogtreecommitdiffstats
path: root/src/test/ui/mismatched_types/issue-38371-unfixable.rs
blob: c4316bfdd18dcc8c5f72e6f1fbd9c1a54d0e98ff (plain)
1
2
3
4
5
fn ugh(&[bar]: &u32) {} //~ ERROR expected an array or slice

fn bgh(&&bar: u32) {} //~ ERROR mismatched types

fn main() {}