PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/compile-fail/binop-logic-int.rs

http://github.com/jruderman/rust
Rust | 3 lines | 1 code | 1 blank | 1 comment | 1 complexity | 42130f7cbbbe7ed69045e262a3b9837e MD5 | raw file
1// error-pattern:&& cannot be applied to type `int`
2
3fn main() { let x = 1i && 2i; }