]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4517.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-4517.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-4517.rs:5:9
3    |
4 LL |     bar(foo);
5    |     --- ^^^ expected `usize`, found array `[u8; 4]`
6    |     |
7    |     arguments to this function are incorrect
8    |
9 note: function defined here
10   --> $DIR/issue-4517.rs:1:4
11    |
12 LL | fn bar(int_param: usize) {}
13    |    ^^^ ----------------
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0308`.