rustc/tests/ui/parser/issues/issue-76597.fixed
2024-06-21 09:39:33 +02:00

12 lines
257 B
Plaintext

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