rust/src/test/compile-fail/binop-bitxor-str.rs

4 lines
85 B
Rust

// error-pattern:^ cannot be applied to type `str`
fn main() { let x = "a" ^ "b"; }