test: Remove most uses of `&fn()` from the tests.
librustc: Remove remaining uses of `&fn()` in favor of `||`.
libsyntax: Remove the old-style borrowed closure type syntax from the
language.
auto merge of #10572 : pcwalton/rust/more-bars, r=cmr

r? @alexcrichton