mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 04:06:31 +00:00

avoid suggesting the same name sort candidates fix a message use `opt_def_id` instead of `def_id` move `find_similarly_named_module_or_crate` to rustc_resolve/src/diagnostics.rs