mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
16 lines
335 B
Rust
16 lines
335 B
Rust
fn ,comma() {
|
|
//~^ ERROR expected identifier, found `,`
|
|
struct Foo {
|
|
x: i32,,
|
|
//~^ ERROR expected identifier, found `,`
|
|
y: u32,
|
|
}
|
|
}
|
|
|
|
fn break() {
|
|
//~^ ERROR expected identifier, found keyword `break`
|
|
let continue = 5;
|
|
//~^ ERROR expected identifier, found keyword `continue`
|
|
}
|
|
|
|
fn main() {}
|