summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0060.stderr
blob: c6aac6e41c62a4665fc47e3a88b49c7ce487fbac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0060]: this function takes at least 1 parameter but 0 parameters were supplied
  --> $DIR/E0060.rs:16:14
   |
LL |     fn printf(_: *const u8, ...) -> u32;
   |     ------------------------------------ defined here
...
LL |     unsafe { printf(); }
   |              ^^^^^^^^ expected at least 1 parameter

error: aborting due to previous error

For more information about this error, try `rustc --explain E0060`.