]> git.lizzy.rs Git - rust.git/commit
auto merge of #7018 : bill-myers/rust/fix_7017, r=thestinger
authorbors <bors@rust-lang.org>
Sun, 9 Jun 2013 02:16:11 +0000 (19:16 -0700)
committerbors <bors@rust-lang.org>
Sun, 9 Jun 2013 02:16:11 +0000 (19:16 -0700)
commit1f0c05ff745cbb40ad065be6522e2c671fc6bb93
tree377828d3461bdd3351b51cd53151cdb8b76346da
parent470bf0dfb362e7494cfddf4e7d443e1264dfdf2f
parent54ec7ab057018fac886039108d02300025e223a0
auto merge of #7018 : bill-myers/rust/fix_7017, r=thestinger

Minimally fixes #7017, we were overwriting the result and thus ignoring attributes before the last.

csearch::get_item_attrs and decoder::get_item_attrs should probably also be changed to each_item_attrs using the for protocol, but that's just a minor performance/style issue.
src/librustc/middle/ty.rs