diff options
| author | bors <bors@rust-lang.org> | 2021-01-20 21:35:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-20 21:35:11 +0000 |
| commit | d990c31990e72dfdff361c384da7550968e2822a (patch) | |
| tree | b974384bbafee07ee369a2d8b7131a7af16c254b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | e6665e42a3d6b5d666ec8c16705a70a491f468fd (diff) | |
| parent | 8490862cc37d7518c79d09d7911d86bfca2cea89 (diff) | |
| download | rust-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
