mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
13 lines
297 B
Rust
13 lines
297 B
Rust
|
fn main() {
|
||
|
{
|
||
|
let mut mutex = std::mem::zeroed(
|
||
|
//~^ ERROR this function takes 0 arguments but 4 arguments were supplied
|
||
|
file.as_raw_fd(),
|
||
|
//~^ ERROR expected value, found macro `file`
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
);
|
||
|
}
|
||
|
}
|