fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
568 B19 linesraw
1error[E0060]: this function takes at least 1 argument but 0 arguments were supplied
2  --> $DIR/E0060.rs:6:14
3   |
4LL |     unsafe { printf(); }
5   |              ^^^^^^-- an argument of type `*const u8` is missing
6   |
7note: function defined here
8  --> $DIR/E0060.rs:2:8
9   |
10LL |     fn printf(_: *const u8, ...) -> u32;
11   |        ^^^^^^
12help: provide the argument
13   |
14LL |     unsafe { printf(/* *const u8 */); }
15   |                    ~~~~~~~~~~~~~~~~~
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0060`.