about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-01-23 14:58:39 -0800
committerEsteban Küber <esteban@kuber.com.ar>2018-01-23 17:05:12 -0800
commit3a530baec9df99ed62a5b792da92baa6009842e2 (patch)
treef1991a811bca047b237d59e1936df2bab1b1da02 /src/libstd/sys/unix/stack_overflow.rs
parent3a39b2aa5a68dd07aacab2106db3927f666a485a (diff)
downloadrust-3a530baec9df99ed62a5b792da92baa6009842e2.tar.gz
rust-3a530baec9df99ed62a5b792da92baa6009842e2.zip
For E0277 on `for` loops, point at first line
When E0277's span points at a `for` loop, the actual issue is in the
element being iterated. Instead of pointing at the entire loop, point
only at the first line (when possible) so that the span ends in the
element for which E0277 was triggered.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions