León Orell Valerian Liehr 15df33326e
Rollup merge of #140795 - mu001999-contrib:sugg-stable-import-first, r=petrochenkov
Prefer to suggest stable candidates rather than unstable ones

Fixes #140240

The logic is to replace unstable suggestions if we meet a new stable one, and do nothing if any other situation. In old logic, we just use the first candidate we meet as the suggestion for the same items.

E.g., `std::range::legacy::Range` vs `std::ops::Range`, `legacy` in the former is unstable, we prefer to suggest use the latter.
2025-05-11 02:44:37 +02:00
..
2025-05-09 13:57:49 +10:00
2025-04-01 16:07:23 +11:00
2025-04-28 07:50:18 +00:00
2025-05-09 13:57:49 +10:00
2025-04-20 11:15:46 +02:00