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

/src/test/run-fail/fmt-fail.rs

http://github.com/jruderman/rust
Rust | 4 lines | 2 code | 1 blank | 1 comment | 0 complexity | 028f3e8b2389fa598800ce47dde166a2 MD5 | raw file
1// error-pattern:meh
2use std;
3
4fn main() { let str_var: ~str = ~"meh"; fail fmt!{"%s", str_var}; }