2020-09-02 02:40:56 -05:00
|
|
|
error[E0369]: no implementation for `String ^ String`
|
2019-03-27 12:13:09 -05:00
|
|
|
--> $DIR/binop-bitxor-str.rs:3:37
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | fn main() { let x = "a".to_string() ^ "b".to_string(); }
|
2020-09-02 02:40:56 -05:00
|
|
|
| --------------- ^ --------------- String
|
2019-03-27 12:13:09 -05:00
|
|
|
| |
|
2020-09-02 02:40:56 -05:00
|
|
|
| String
|
2024-06-24 21:00:30 -05: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 07:28:26 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|