/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
- fn main() {
- // We should be able to type infer inside of fn@s.
- let f = fn@() { let i = 10; };
- }