summaryrefslogtreecommitdiffstats
path: root/tests/ui/binop/binop-bitxor-str.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/binop/binop-bitxor-str.stderr')
-rw-r--r--tests/ui/binop/binop-bitxor-str.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/binop/binop-bitxor-str.stderr b/tests/ui/binop/binop-bitxor-str.stderr
new file mode 100644
index 000000000..f236cd61e
--- /dev/null
+++ b/tests/ui/binop/binop-bitxor-str.stderr
@@ -0,0 +1,11 @@
+error[E0369]: no implementation for `String ^ String`
+ --> $DIR/binop-bitxor-str.rs:3:37
+ |
+LL | fn main() { let x = "a".to_string() ^ "b".to_string(); }
+ | --------------- ^ --------------- String
+ | |
+ | String
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0369`.