summary refs log tree commit diff
path: root/src/test/compile-fail/binop-bitxor-str.rs
blob: 65e0996fa627b4c41f452699a274d48c64f5b751 (plain)
1
2
3
// error-pattern:^ cannot be applied to type `str`

fn main() { let x = "a" ^ "b"; }