diff options
Diffstat (limited to 'src/test/ui/binop/binop-bitxor-str.rs')
-rw-r--r-- | src/test/ui/binop/binop-bitxor-str.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/binop/binop-bitxor-str.rs b/src/test/ui/binop/binop-bitxor-str.rs new file mode 100644 index 000000000..3085cce3f --- /dev/null +++ b/src/test/ui/binop/binop-bitxor-str.rs @@ -0,0 +1,3 @@ +// error-pattern:no implementation for `String ^ String` + +fn main() { let x = "a".to_string() ^ "b".to_string(); } |