rust/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
collapsible_span_lint_calls.rs
collapsible_span_lint_calls.stderr
custom_ice_message.rs
custom_ice_message.stderr
default_lint.rs
default_lint.stderr
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
lint_without_lint_pass.rs
lint_without_lint_pass.stderr
match_type_on_diag_item.rs
match_type_on_diag_item.stderr
outer_expn_data.fixed
outer_expn_data.rs
outer_expn_data.stderr
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