/src/test/compile-fail/binop-bitxor-str.rs
http://github.com/jruderman/rust · Rust · 3 lines · 1 code · 1 blank · 1 comment · 0 complexity · 0df7da1cfb3966cb3adab7fffd62dce9 MD5 · raw file
- // error-pattern:^ cannot be applied to type `~str`
- fn main() { let x = ~"a" ^ ~"b"; }