rust/src/test/ui/error-codes/E0060.stderr

13 lines
431 B
Plaintext
Raw Normal View History

2018-02-07 19:35:35 -08:00
error[E0060]: this function takes at least 1 parameter but 0 parameters were supplied
--> $DIR/E0060.rs:16:14
|
12 | fn printf(_: *const u8, ...) -> u32;
| ------------------------------------ defined here
...
16 | unsafe { printf(); }
| ^^^^^^^^ expected at least 1 parameter
error: aborting due to previous error
2018-02-19 21:40:25 +01:00
If you want more information on this error, try using "rustc --explain E0060"