rust-clippy/tests/ui-internal
bors d990c31990 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.
2021-01-20 21:35:11 +00:00
..
collapsible_span_lint_calls.fixed add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
collapsible_span_lint_calls.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
collapsible_span_lint_calls.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
custom_ice_message.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
custom_ice_message.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
default_lint.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
default_lint.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
interning_defined_symbol.fixed Add keywords to interning defined symbol lint 2021-01-08 12:13:06 -06:00
interning_defined_symbol.rs Add keywords to interning defined symbol lint 2021-01-08 12:13:06 -06:00
interning_defined_symbol.stderr Add keywords to interning defined symbol lint 2021-01-08 12:13:06 -06:00
invalid_paths.rs Fix path_to_res for enum inherent items 2021-01-08 11:56:52 -06:00
invalid_paths.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
lint_without_lint_pass.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
lint_without_lint_pass.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
match_type_on_diag_item.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
match_type_on_diag_item.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
outer_expn_data.fixed add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
outer_expn_data.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
outer_expn_data.stderr add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
unnecessary_symbol_str.fixed Add unnecessary symbol string lint 2021-01-08 14:49:59 -06:00
unnecessary_symbol_str.rs Add unnecessary symbol string lint 2021-01-08 14:49:59 -06:00
unnecessary_symbol_str.stderr Add unnecessary symbol string lint 2021-01-08 14:49:59 -06:00