rust/src
Matthias Krüger 422da40294
Rollup merge of #126371 - estebank:suggest-core, r=fmease
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.
2024-06-13 22:55:46 +02:00
..
bootstrap Rollup merge of #126238 - Nilstrieb:run,miri,run, r=RalfJung 2024-06-13 22:55:45 +02:00
ci Rollup merge of #126039 - dpaoliello:arm64ecbuild, r=davidtwco 2024-06-12 15:44:57 +02:00
doc Rollup merge of #126356 - epage:check-cfg, r=Urgau 2024-06-12 20:03:22 -07:00
etc Remove path choice from x fmt and add --all option. 2024-05-29 16:24:48 +10:00
librustdoc Rollup merge of #126159 - RalfJung:scalarint-size-mismatch, r=oli-obk 2024-06-10 21:12:25 +02:00
llvm-project@5a5152f653 Update to LLVM 18.1.7 2024-06-06 08:37:27 +02:00
rustdoc-json-types Remove Type from rustdoc Const 2024-06-05 22:25:42 +01:00
tools Rollup merge of #126371 - estebank:suggest-core, r=fmease 2024-06-13 22:55:46 +02:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version set version number to 1.81.0 2024-06-07 10:37:34 +02:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.