summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-4517.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-4517.stderr')
-rw-r--r--src/test/ui/issues/issue-4517.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-4517.stderr b/src/test/ui/issues/issue-4517.stderr
new file mode 100644
index 000000000..70b4ca5ec
--- /dev/null
+++ b/src/test/ui/issues/issue-4517.stderr
@@ -0,0 +1,17 @@
+error[E0308]: mismatched types
+ --> $DIR/issue-4517.rs:5:9
+ |
+LL | bar(foo);
+ | --- ^^^ expected `usize`, found array `[u8; 4]`
+ | |
+ | arguments to this function are incorrect
+ |
+note: function defined here
+ --> $DIR/issue-4517.rs:1:4
+ |
+LL | fn bar(int_param: usize) {}
+ | ^^^ ----------------
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0308`.