fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
433 B17 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-4517.rs:5:9
3   |
4LL |     bar(foo);
5   |     --- ^^^ expected `usize`, found `[u8; 4]`
6   |     |
7   |     arguments to this function are incorrect
8   |
9note: function defined here
10  --> $DIR/issue-4517.rs:1:4
11   |
12LL | fn bar(int_param: usize) {}
13   |    ^^^ ----------------
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0308`.