• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0412]: cannot find type `err` in this scope
2  --> $DIR/extern-fn-arg-names.rs:2:29
3   |
4LL |     fn dstfn(src: i32, dst: err);
5   |                             ^^^ not found in this scope
6
7error[E0061]: this function takes 2 arguments but 1 argument was supplied
8  --> $DIR/extern-fn-arg-names.rs:7:5
9   |
10LL |     dstfn(1);
11   |     ^^^^^--- an argument is missing
12   |
13note: function defined here
14  --> $DIR/extern-fn-arg-names.rs:2:8
15   |
16LL |     fn dstfn(src: i32, dst: err);
17   |        ^^^^^
18help: provide the argument
19   |
20LL |     dstfn(1, /* dst */);
21   |          ~~~~~~~~~~~~~~
22
23error: aborting due to 2 previous errors
24
25Some errors have detailed explanations: E0061, E0412.
26For more information about an error, try `rustc --explain E0061`.
27