librustc: Implement `|A| -> B` syntax for closures and make bare `fn`
work
libstd: Remove mocks.
auto merge of #10187 : pcwalton/rust/remove-mocks, r=pcwalton

r? @alexcrichton
configure: Fix passing multiple target and host triples.