rust/tests/ui/binop/binop-bitxor-str.rs
2024-02-16 20:02:50 +00:00

4 lines
116 B
Rust

//@ error-pattern:no implementation for `String ^ String`
fn main() { let x = "a".to_string() ^ "b".to_string(); }