PageRenderTime 18ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1// error-pattern:^ cannot be applied to type `~str`
2
3fn main() { let x = ~"a" ^ ~"b"; }