rust/tests/ui/issues/issue-4935.stderr

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

19 lines
532 B
Plaintext
Raw Normal View History

error[E0061]: this function takes 1 argument but 2 arguments were supplied
2018-12-25 15:56:47 +00:00
--> $DIR/issue-4935.rs:5:13
|
2018-02-23 00:42:32 +00:00
LL | fn main() { foo(5, 6) }
2023-02-01 17:44:48 +00:00
| ^^^ ---
| | |
| | unexpected argument of type `{integer}`
| help: remove the extra argument
|
note: function defined here
--> $DIR/issue-4935.rs:3:4
|
LL | fn foo(a: usize) {}
| ^^^ --------
error: aborting due to 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0061`.