2020-09-02 10:40:56 +03:00
|
|
|
error[E0369]: no implementation for `String ^ String`
|
2019-03-27 13:13:09 -04:00
|
|
|
--> $DIR/binop-bitxor-str.rs:3:37
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | fn main() { let x = "a".to_string() ^ "b".to_string(); }
|
2020-09-02 10:40:56 +03:00
|
|
|
| --------------- ^ --------------- String
|
2019-03-27 13:13:09 -04:00
|
|
|
| |
|
2020-09-02 10:40:56 +03:00
|
|
|
| String
|
2024-06-25 10:00:30 +08:00
|
|
|
|
|
|
|
|
note: the foreign item type `String` doesn't implement `BitXor`
|
|
|
|
--> $SRC_DIR/alloc/src/string.rs:LL:COL
|
|
|
|
|
|
|
|
|
= note: not implement `BitXor`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|