]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-bitxor-str.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / binop / binop-bitxor-str.stderr
1 error[E0369]: binary operation `^` cannot be applied to type `std::string::String`
2   --> $DIR/binop-bitxor-str.rs:13:21
3    |
4 LL | fn main() { let x = "a".to_string() ^ "b".to_string(); }
5    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: an implementation of `std::ops::BitXor` might be missing for `std::string::String`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0369`.