summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/check-args-on-fn-err-2.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/typeck/check-args-on-fn-err-2.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/typeck/check-args-on-fn-err-2.rs b/tests/ui/typeck/check-args-on-fn-err-2.rs
new file mode 100644
index 000000000..af57dbe33
--- /dev/null
+++ b/tests/ui/typeck/check-args-on-fn-err-2.rs
@@ -0,0 +1,5 @@
+fn main() {
+ a((), 1i32 == 2u32);
+ //~^ ERROR cannot find function `a` in this scope
+ //~| ERROR mismatched types
+}