]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #68438 - Aaron1011:fix/tait-non-defining, r=estebank
authorTyler Mandry <tmandry@gmail.com>
Fri, 24 Jan 2020 08:30:55 +0000 (00:30 -0800)
committerGitHub <noreply@github.com>
Fri, 24 Jan 2020 08:30:55 +0000 (00:30 -0800)
commit143059deafe1e5df3cbbaf4d47f5461af7bcf8c3
tree0c9739e3b46b53b798ecff7b957497272970ce99
parenteb769ed6b09cb9fa007508caef808f5e50264cb0
parent4ee4287b1da13f56d063fa5b4234780def0d5af1
Rollup merge of #68438 - Aaron1011:fix/tait-non-defining, r=estebank

Account for non-types in substs for opaque type error messages

Fixes #68368

Previously, I assumed that the substs contained only types, which caused
the computed index number to be wrong.