about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-03 23:54:25 +0000
committerbors <bors@rust-lang.org>2018-07-03 23:54:25 +0000
commita739c51d108b1958a1c3e145588035c580e7973a (patch)
tree5df02fc666acba494a673808e1c612bcf7e83b4b /src/libstd/sys/unix/stack_overflow.rs
parentfb97bb50d1da7b7cafdaf83797f3514279f80421 (diff)
parentc613aa5a95a83ec77b4b0af1e74019cb8aca75b4 (diff)
downloadrust-a739c51d108b1958a1c3e145588035c580e7973a.tar.gz
rust-a739c51d108b1958a1c3e145588035c580e7973a.zip
Auto merge of #51926 - matthewjasper:Initialization-span, r=nikomatsakis
[NLL] Use better span for initializing a variable twice

Closes #51217

When assigning to a (projection from a) local immutable local which starts initialised (everything except `let PATTERN;`):

* Point to the declaration of that local
* Make the error message refer to the local, rather than the projection.

r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions