mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-21 01:24:13 +00:00
125d43cb2c
Restructure `find_path` into a separate functions for modules and non-module items Follow up to https://github.com/rust-lang/rust-analyzer/pull/13212 Also renames `prefer_core` imports config to `prefer_no_std` and changes the behavior of no_std path searching by preferring `core` paths `over` alloc This PR turned into a slight rewrite, so it unfortunately does a few more things that I initially planned to (including a bug fix for enum variant paths) |
||
---|---|---|
.. | ||
handlers | ||
tests | ||
utils | ||
assist_config.rs | ||
assist_context.rs | ||
lib.rs | ||
tests.rs | ||
utils.rs |