]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #15537 : jbclements/rust/hygiene-for-methods, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 9 Jul 2014 05:11:38 +0000 (05:11 +0000)
committerbors <bors@rust-lang.org>
Wed, 9 Jul 2014 05:11:38 +0000 (05:11 +0000)
This patch adds hygiene for methods. This one was more difficult than the others, due principally to issues surrounding `self`. Specifically, there were a whole bunch of places in the code that assumed that a `self` identifier could be discarded and then made up again later, causing the discard of contexts and hygiene breakage.


Trivial merge