summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-76597.rs
blob: 521b9c64b1c5714bcf8bdf84f629bb1163f5c3bf (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() {}