diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-05-11 02:44:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-11 02:44:37 +0200 |
| commit | 15df33326ece077f739185127464a0494cda2654 (patch) | |
| tree | 854b24ac548c2e1d5df2949b4f317f433be84a77 /compiler/rustc_interface/src/errors.rs | |
| parent | 3c8950c30d20b4457feec172835aeb94ec714c72 (diff) | |
| parent | 7c253ac504004d3749a35a167e702c084989b27b (diff) | |
| download | rust-15df33326ece077f739185127464a0494cda2654.tar.gz rust-15df33326ece077f739185127464a0494cda2654.zip | |
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.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
