]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-76597.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-76597.rs
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() {}