about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorEsteban Kuber <esteban@kuber.com.ar>2021-09-14 10:52:36 +0000
committerEsteban Kuber <esteban@kuber.com.ar>2021-09-16 12:12:28 +0000
commit4951e3ad9ecc653bd2097c6a80e2e1c841edec66 (patch)
treedf518e51a2dccf8d172a8bd56a48102edcac9bf8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1d8290568506e5d85422f23ab73ce79519201995 (diff)
downloadrust-4951e3ad9ecc653bd2097c6a80e2e1c841edec66.tar.gz
rust-4951e3ad9ecc653bd2097c6a80e2e1c841edec66.zip
Point at argument when evaluating `Path`'s bounds
When evaluating an `ExprKind::Call`, we first have to `check_expr` on it's
callee. When this one is a `ExprKind::Path`, we had to evaluate the bounds
introduced for its arguments, but by the time we evaluated them we no
longer had access to the argument spans. Now we special case this so
that we can point at the right place on unsatisfied bounds. This also
allows the E0277 deduplication to kick in correctly, so we now emit
fewer errors.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions