]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #20167 : michaelwoerister/rust/for-loop-var, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 25 Dec 2014 14:21:47 +0000 (14:21 +0000)
committerbors <bors@rust-lang.org>
Thu, 25 Dec 2014 14:21:47 +0000 (14:21 +0000)
... really this time `:)`

I went for the simpler fix after all since it turned out to become a bit too complicated to extract the current iteration value from its containing `Option` with the different memory layouts it can have. It's also what we already do for match bindings.

I also extended the new test case to include the "simple identifier" case.

Fixes #20127, fixes #19732

1  2 
src/librustc_trans/trans/debuginfo.rs

Simple merge