about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-06-12 23:51:31 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-06-13 20:22:21 +0000
commitfa9274c99be32c48ca118bab7af621b637b9be5a (patch)
tree0754c57e8cd197f33d0cdcacab8fc318a5b7bed9 /compiler/rustc_codegen_gcc
parentba347f98156ab497868f676e50b148943a0f33e5 (diff)
downloadrust-fa9274c99be32c48ca118bab7af621b637b9be5a.tar.gz
rust-fa9274c99be32c48ca118bab7af621b637b9be5a.zip
Tweak output of import suggestions
When both `std::` and `core::` items are available, only suggest the
`std::` ones. We ensure that in `no_std` crates we suggest `core::`
items.

Ensure that the list of items suggested to be imported are always in the
order of local crate items, `std`/`core` items and finally foreign crate
items.

Tweak wording of import suggestion: if there are multiple items but they
are all of the same kind, we use the kind name and not the generic "items".

Fix #83564.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions