f60186f35d
Return multiple resolutions from `def_path_res` Changes `def_path_res` to return all the resolutions matching the path rather than the first one (with a namespace hint that covered some cases). This would fix any issues that come up with multiple versions of the same crate being present as they all have the same crate name It also adds resolution of `impl _ {}` items for local items, and removes struct field resolution as it didn't seem to be used anywhere I tested it on a local crate and it worked for the multiple crate issue, but I couldn't come up with a test that worked well with `// aux-build`, maybe `// aux-crate` after https://github.com/rust-lang/rust/pull/103266 could work but I'm not sure on that either changelog: [`disallowed_methods`], [`disallowed_types`], [`disallowed_macros`]: fix path resolution with multiple versions of the same crate changelog: [`disallowed_methods`]: Resolve methods in `impl`s in the current crate |
||
---|---|---|
.. | ||
arithmetic_side_effects_allowed | ||
await_holding_invalid_type | ||
bad_toml | ||
bad_toml_type | ||
conf_deprecated_key | ||
dbg_macro | ||
disallowed_macros | ||
disallowed_names_append | ||
disallowed_names_replace | ||
doc_valid_idents_append | ||
doc_valid_idents_replace | ||
duplicated_keys | ||
expect_used | ||
fn_params_excessive_bools | ||
functions_maxlines | ||
good_toml_no_false_negatives | ||
invalid_min_rust_version | ||
large_include_file | ||
lint_decimal_readability | ||
max_suggested_slice_pattern_length | ||
min_rust_version | ||
missing_enforced_import_rename | ||
mut_key | ||
nonstandard_macro_braces | ||
print_macro | ||
strict_non_send_fields_in_send_ty | ||
struct_excessive_bools | ||
toml_disallow | ||
toml_disallowed_methods | ||
toml_disallowed_types | ||
toml_trivially_copy | ||
toml_unknown_key | ||
unwrap_used | ||
upper_case_acronyms_aggressive | ||
vec_box_sized | ||
zero_single_char_names | ||
update-all-references.sh |