]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0060.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.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 |     unsafe { printf(); }
5    |              ^^^^^^-- supplied 0 arguments
6    |              |
7    |              expected at least 1 argument
8    |
9 note: function defined here
10   --> $DIR/E0060.rs:2:8
11    |
12 LL |     fn printf(_: *const u8, ...) -> u32;
13    |        ^^^^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0060`.