about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-28 07:42:13 +0000
committerbors <bors@rust-lang.org>2018-07-28 07:42:13 +0000
commit05607476521732c5c71bc063c8be5056aa573b15 (patch)
treecb47ef452a0aeb4165f265aac52cc2b1c2ffe817 /src/liballoc_jemalloc
parent4f1e2357447ef7e8066c49560d66c3e18f25d982 (diff)
parentb32caef1ad605c8607ad0c3ccc682f6536f0e812 (diff)
downloadrust-05607476521732c5c71bc063c8be5056aa573b15.tar.gz
rust-05607476521732c5c71bc063c8be5056aa573b15.zip
Auto merge of #52678 - matthewjasper:better-spans, r=nikomatsakis
[NLL] Use better spans in some errors

* Use the span of the discriminant and patterns for "fake" statements created to properly check matches. I plan to special case these soon, but this felt like a good first step
* Use the span of the statement, rather than the initialization, when reporting move errors for `let x = ...`, which avoids giving an unhelpful suggestion to use `&{ }`.

r? @nikomatsakis cc @pnkfelix
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions