PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/src/test/run-fail/expr-alt-fail.rs

http://github.com/jruderman/rust
Rust | 5 lines | 1 code | 3 blank | 1 comment | 0 complexity | a895c63323a53d23435bab6dd62253d9 MD5 | raw file
1
2
3
4// error-pattern:explicit failure
5fn main() { let x = match true { false => { 0 } true => { fail } }; }