]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #14801 : pcwalton/rust/name-shadowing-in-one-pattern, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 12 Jun 2014 12:32:13 +0000 (12:32 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Jun 2014 12:32:13 +0000 (12:32 +0000)
bindings and function arguments.

Issue #14581.

To fix code that this breaks, give the pattern identifiers different names.

[breaking-change]

r? @brson


Trivial merge