]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #33351 - birkenfeld:loop-label-spans, r=pnkfelix
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 27 May 2016 04:26:47 +0000 (09:56 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 27 May 2016 04:26:47 +0000 (09:56 +0530)
 This makes the \"shadowing labels\" warning *not* print the entire loop as a span, but only the lifetime.

Also makes #31719 go away, but does not fix its root cause (the span of the expanded loop is still wonky, but not used anymore).

1  2 
src/librustc_resolve/lib.rs
src/libsyntax/ext/expand.rs

Simple merge
Simple merge