about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-08-28 01:31:33 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-09-05 13:56:57 -0400
commitefdc3facdfe931108146587b2f9d22b7dfd217c5 (patch)
treea54e0fbd163b40a8188b336746030ba8c95dbcf8 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentee683ef8532034a4bee01e9aa8fd92dbe38ac6f1 (diff)
downloadrust-efdc3facdfe931108146587b2f9d22b7dfd217c5.tar.gz
rust-efdc3facdfe931108146587b2f9d22b7dfd217c5.zip
Give a much better error message when an item has a macro disambiguator
Previously, this called `check_full_res` for values and types, but not
macros. This would result in not showing when there was a partial
resolution for a parent of the item.

This now calls `check_full_res`. Additionally, it checks if there was a
disambiguator, and if so, says that specific kind wasn't found instead
of saying generically 'associated item'.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions