1 error[E0529]: expected an array or slice, found `u32`
2 --> $DIR/issue-38371-unfixable.rs:1:9
4 LL | fn ugh(&[bar]: &u32) {}
5 | ^^^^^ pattern cannot match with input type `u32`
7 error[E0308]: mismatched types
8 --> $DIR/issue-38371-unfixable.rs:3:8
10 LL | fn bgh(&&bar: u32) {}
11 | ^^^^^ --- expected due to this
13 | expected `u32`, found reference
15 = note: expected type `u32`
18 error: aborting due to 2 previous errors
20 Some errors have detailed explanations: E0308, E0529.
21 For more information about an error, try `rustc --explain E0308`.