]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #15425 : jbclements/rust/hygiene-for-3-kinds-of-args, r=cmr
authorbors <bors@rust-lang.org>
Sat, 5 Jul 2014 03:16:50 +0000 (03:16 +0000)
committerbors <bors@rust-lang.org>
Sat, 5 Jul 2014 03:16:50 +0000 (03:16 +0000)
This pull request adds hygiene for 3 kinds of argument bindings:
- arguments to item fns,
- arguments to `ExprFnBlock`s, and
- arguments to `ExprProc`s

It also adds a bunch of unit tests, fixes a few macro uses to be non-capturing, and has a few cleanup items.

local `make check` succeeds.

1  2 
src/librustc/middle/trans/_match.rs

Simple merge