]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0060.stderr
New upstream version 1.43.0+dfsg1
[rustc.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 | fn printf(_: *const u8, ...) -> u32;
5 | ------------------------------------ defined here
6 ...
7 LL | unsafe { printf(); }
8 | ^^^^^^-- supplied 0 arguments
9 | |
10 | expected at least 1 argument
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0060`.