rust/tests/ui/binop/binop-bitxor-str.rs

4 lines
116 B
Rust

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