summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/binop-typeck.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binop/binop-typeck.stderr')
-rw-r--r--src/test/ui/binop/binop-typeck.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/binop/binop-typeck.stderr b/src/test/ui/binop/binop-typeck.stderr
new file mode 100644
index 000000000..42d910819
--- /dev/null
+++ b/src/test/ui/binop/binop-typeck.stderr
@@ -0,0 +1,11 @@
+error[E0369]: cannot add `{integer}` to `bool`
+ --> $DIR/binop-typeck.rs:6:15
+ |
+LL | let z = x + y;
+ | - ^ - {integer}
+ | |
+ | bool
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0369`.