summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-76597.fixed
blob: 2d7a30b8361ad7b2ccc11845bd6cd5154f526921 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-rustfix

#![allow(dead_code)]
#![allow(unused_variables)]
fn f(
                                     x: u8,
                                     y: u8,
) {}
//~^^ ERROR: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `y`

fn main() {}