PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/test/compile-fail/binop-add-tup.rs

http://github.com/jruderman/rust
Rust | 3 lines | 1 code | 1 blank | 1 comment | 0 complexity | 9fc1b75effe48da33f42b207a0ff5576 MD5 | raw file
1// error-pattern:+ cannot be applied to type `{x: bool}`
2
3fn main() { let x = {x: true} + {x: false}; }