]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-76597.fixed
Auto merge of #77893 - petertodd:2020-impl-default-for-phantompinned, r=dtolnay
[rust.git] / src / test / ui / issue-76597.fixed
1 // run-rustfix
2
3 #![allow(dead_code)]
4 #![allow(unused_variables)]
5 fn f(
6                                      x: u8,
7                                      y: u8,
8 ) {}
9 //~^^ ERROR: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `y`
10
11 fn main() {}