]>
Commit | Line | Data |
---|---|---|
74b04a01 | 1 | error[E0060]: this function takes at least 1 argument but 0 arguments were supplied |
0731742a | 2 | --> $DIR/E0060.rs:6:14 |
2c00a5a8 | 3 | | |
0531ce1d | 4 | LL | unsafe { printf(); } |
923072b8 | 5 | | ^^^^^^-- an argument of type `*const u8` is missing |
29967ef6 XL |
6 | | |
7 | note: function defined here | |
8 | --> $DIR/E0060.rs:2:8 | |
9 | | | |
10 | LL | fn printf(_: *const u8, ...) -> u32; | |
11 | | ^^^^^^ | |
923072b8 FG |
12 | help: provide the argument |
13 | | | |
14 | LL | unsafe { printf(/* *const u8 */); } | |
f2b60f7d | 15 | | ~~~~~~~~~~~~~~~~~ |
2c00a5a8 XL |
16 | |
17 | error: aborting due to previous error | |
18 | ||
0531ce1d | 19 | For more information about this error, try `rustc --explain E0060`. |