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) |
||
|---|---|---|
| .. | ||
| completions | ||
| context | ||
| render | ||
| tests | ||
| completions.rs | ||
| config.rs | ||
| context.rs | ||
| item.rs | ||
| lib.rs | ||
| render.rs | ||
| snippet.rs | ||
| tests.rs | ||