rust/tests/ui/c-variadic/issue-32201.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
328 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error[E0617]: can't pass `fn(*const u8) {bar}` to variadic function
2018-12-25 15:56:47 +00:00
--> $DIR/issue-32201.rs:9:16
2018-07-15 21:11:54 +00:00
|
LL | foo(0, bar);
| ^^^ help: cast the value to `fn(*const u8)`: `bar as fn(*const u8)`
error: aborting due to 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0617`.