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

4 lines
88 B
Rust

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