]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0060.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0060.stderr
1 error[E0060]: this function takes at least 1 argument but 0 arguments were supplied
2   --> $DIR/E0060.rs:6:14
3    |
4 LL |     unsafe { printf(); }
5    |              ^^^^^^-- an argument of type `*const u8` is missing
6    |
7 note: function defined here
8   --> $DIR/E0060.rs:2:8
9    |
10 LL |     fn printf(_: *const u8, ...) -> u32;
11    |        ^^^^^^
12 help: provide the argument
13    |
14 LL |     unsafe { printf(/* *const u8 */); }
15    |              ~~~~~~~~~~~~~~~~~~~~~~~
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0060`.