about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorleonardo.yvens <leoyvens@gmail.com>2018-05-13 12:52:50 -0300
committerleonardo.yvens <leoyvens@gmail.com>2018-05-13 13:02:34 -0300
commit87890561f3d09c86b2d99a2115930622b0899d50 (patch)
treed66b7f7962342d790fcef8c6cd102a5c22c0372d /src/test/incremental/thinlto
parente6db79f2ca07e4e533f4e940462a42f1093e52f3 (diff)
downloadrust-87890561f3d09c86b2d99a2115930622b0899d50.tar.gz
rust-87890561f3d09c86b2d99a2115930622b0899d50.zip
Improve eager type resolution error message
This PR improves the span of eager resolution type errors referring to indexing and field access to use the base span rather than the whole expression.

Also a note "Type must be known at this point." is added to where we at some point in the past emitted the "type must be known at this context" error, so that early failures can be differentiated and will hopefully be less surprising.

Fixes #50692 (or at least does the best we can for the moment)

r? @estebank
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions