Files
rust/compiler
Matthias Krüger 70c637808f Rollup merge of #113331 - chenyukang:yukang-fix-112590-false-positive, r=estebank
Add filter with following segment while lookup typo for path

From the discussion: https://github.com/rust-lang/rust/pull/112917#discussion_r1239150173

Seems we can not get the assoc items for `Struct`, `Enum` in the resolving phase.
A obvious filter is avoid suggesting the same name with the following segment path.

Use `following_seg` can extend the function `smart_resolve_partial_mod_path_errors` for more scenarios, such as `std::sync_error::atomic::AtomicBool` in test case.

r? `@estebank`
2023-07-10 12:01:32 +02:00
..
2023-07-06 13:04:13 +00:00
2023-05-02 10:45:16 -07:00
2023-06-28 10:52:48 +08:00
2023-07-03 07:20:51 +00:00
2023-06-11 22:45:04 -04:00
2023-07-02 21:02:31 +02:00
2023-07-02 21:02:31 +02:00
2023-07-03 13:51:54 -07:00