rust/src
bors b321742c6c Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr
Make `Res::SelfTy` a struct variant and update docs

I found pattern matching on a `(Option<DefId>, Option<(DefId, bool)>)` to not be super readable, additionally the doc comments on the types in a tuple variant aren't visible anywhere at use sites as far as I can tell (using rust analyzer + vscode)

The docs incorrectly assumed that the `DefId` in `Option<(DefId, bool)>` would only ever be for an impl item and I also found the code examples to be somewhat unclear about which `DefId` was being talked about.

r? `@lcnr` since you reviewed the last PR changing these docs
2022-02-14 12:26:43 +00:00
..
bootstrap Auto merge of #93685 - Mark-Simulacrum:drop-time, r=Mark-Simulacrum 2022-02-13 15:12:21 +00:00
build_helper Hide failed command unless in verbose mode 2022-01-30 17:37:11 -05:00
ci Auto merge of #93837 - nikic:arm-update, r=Mark-Simulacrum 2022-02-13 17:41:31 +00:00
doc Auto merge of #93685 - Mark-Simulacrum:drop-time, r=Mark-Simulacrum 2022-02-13 15:12:21 +00:00
etc Auto merge of #93626 - wesleywiser:fix_hashmap_natvis, r=michaelwoerister 2022-02-08 10:05:05 +00:00
librustdoc Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr 2022-02-14 12:26:43 +00:00
llvm-project@fdc8f411ec Update llvm-project submodule 2022-02-05 21:00:23 +00:00
rustdoc-json-types Increase the format version of rustdoc-json-types 2022-01-20 22:14:02 +01:00
test Auto merge of #93937 - bjorn3:simplifications3, r=cjgillot 2022-02-14 05:55:26 +00:00
tools Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr 2022-02-14 12:26:43 +00:00
README.md
stage0.json bump bootstrap compiler 2022-01-28 15:01:04 +01:00
version bump version to 1.60.0 2022-01-07 10:04:15 +01:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

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