mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +00:00
12 lines
257 B
Rust
12 lines
257 B
Rust
![]() |
//@ run-rustfix
|
||
|
|
||
|
#![allow(dead_code)]
|
||
|
#![allow(unused_variables)]
|
||
|
fn f(
|
||
|
x: u8,
|
||
|
y: u8,
|
||
|
) {}
|
||
|
//~^^ ERROR: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `y`
|
||
|
|
||
|
fn main() {}
|