about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-20 21:35:11 +0000
committerbors <bors@rust-lang.org>2021-01-20 21:35:11 +0000
commitd990c31990e72dfdff361c384da7550968e2822a (patch)
treeb974384bbafee07ee369a2d8b7131a7af16c254b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente6665e42a3d6b5d666ec8c16705a70a491f468fd (diff)
parent8490862cc37d7518c79d09d7911d86bfca2cea89 (diff)
downloadrust-d990c31990e72dfdff361c384da7550968e2822a.tar.gz
rust-d990c31990e72dfdff361c384da7550968e2822a.zip
Auto merge of #6567 - camsteffen:path-to-res-enum, r=Manishearth
Fix path_to_res for enum inherent items

changelog: none

I tried to add `Option::is_some` to the paths but got a false positive from the invalid paths lint. Turns out the `path_to_res` function does not find inherent impls for enums. I fixed this and took the liberty to do some additional cleanup in the method.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions