fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
544 B13 linesraw
1error[E0369]: binary operation `^` cannot be applied to type `std::string::String`
2  --> $DIR/binop-bitxor-str.rs:3:37
3   |
4LL | fn main() { let x = "a".to_string() ^ "b".to_string(); }
5   |                     --------------- ^ --------------- std::string::String
6   |                     |
7   |                     std::string::String
8   |
9   = note: an implementation of `std::ops::BitXor` might be missing for `std::string::String`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0369`.