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