summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/binop-mul-bool.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/binop/binop-mul-bool.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/binop/binop-mul-bool.stderr b/src/test/ui/binop/binop-mul-bool.stderr
new file mode 100644
index 000000000..8b5cde63c
--- /dev/null
+++ b/src/test/ui/binop/binop-mul-bool.stderr
@@ -0,0 +1,11 @@
+error[E0369]: cannot multiply `bool` by `bool`
+ --> $DIR/binop-mul-bool.rs:3:26
+ |
+LL | fn main() { let x = true * false; }
+ | ---- ^ ----- bool
+ | |
+ | bool
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0369`.