about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-05-15 14:27:02 +0200
committerGitHub <noreply@github.com>2018-05-15 14:27:02 +0200
commit7c7941dc2608ddb4dbf8cbb93235ff02638581b5 (patch)
tree9fe3f21dc5fc0cf5debc5df451cac81549792587 /src/rustllvm/RustWrapper.cpp
parent6dc4971cf85cc4c2b33c5d24d6dcd7217420f738 (diff)
parent87890561f3d09c86b2d99a2115930622b0899d50 (diff)
downloadrust-7c7941dc2608ddb4dbf8cbb93235ff02638581b5.tar.gz
rust-7c7941dc2608ddb4dbf8cbb93235ff02638581b5.zip
Rollup merge of #50712 - leodasvacas:improve-eager-resolution-error-message, r=estebank
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 where in the past we 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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions