PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/fn-type-infer.rs

http://github.com/jruderman/rust
Rust | 4 lines | 3 code | 0 blank | 1 comment | 0 complexity | 780399baf48e0dd9b4b918fa03614b01 MD5 | raw file
1fn main() {
2    // We should be able to type infer inside of fn@s.
3    let f = fn@() { let i = 10; };
4}