diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2021-09-14 10:52:36 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-09-16 12:12:28 +0000 |
| commit | 4951e3ad9ecc653bd2097c6a80e2e1c841edec66 (patch) | |
| tree | df518e51a2dccf8d172a8bd56a48102edcac9bf8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 1d8290568506e5d85422f23ab73ce79519201995 (diff) | |
| download | rust-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
