bors 125d43cb2c Auto merge of #13227 - Veykril:core-pref, r=Veykril
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)
2022-09-13 13:16:57 +00:00
..
2022-07-20 15:02:08 +02:00
2022-07-31 19:27:20 +02:00
2022-08-17 21:44:58 +08:00
2022-07-20 15:02:08 +02:00
2022-08-25 21:07:24 +02:00
2022-08-06 17:25:02 +03:00
2022-08-25 21:07:24 +02:00
Fmt
2022-09-02 21:18:36 +00:00
2022-07-20 15:02:08 +02:00
2022-08-19 21:37:05 +03:00