rust/src
bors 9b471a3f5f Auto merge of #82020 - jyn514:mut-passes, r=camelid,GuillaumeGomez
Make `Clean` take &mut DocContext

- Take `FnMut` in `rustc_trait_selection::find_auto_trait_generics`
- Take `&mut DocContext` in most of `clean`
- Collect the iterator in auto_trait_impls instead of iterating lazily; the lifetimes were really bad.

This combined with https://github.com/rust-lang/rust/pull/82018 should hopefully help with https://github.com/rust-lang/rust/pull/82014 by allowing `cx.cache.exported_traits` to be modified in `register_res`. Previously it had to use interior mutability, which required either adding a RefCell to `cache.exported_traits` on *top* of the existing `RefCell<Cache>` or mixing reads and writes between `cx.exported_traits` and `cx.cache.exported_traits`. I don't currently have that working but I expect it to be reasonably easy to add after this.
2021-02-19 16:39:03 +00:00
..
bootstrap Rollup merge of #82236 - matthiaskrgr:useless_conv, r=jyn514 2021-02-18 16:57:40 +01:00
build_helper
ci Auto merge of #81666 - hyd-dev:miri-windows-test-fail, r=Mark-Simulacrum 2021-02-13 13:47:02 +00:00
doc Rollup merge of #82261 - ojeda:rustdoc-argfile, r=jyn514 2021-02-19 02:49:12 +01:00
etc Rollup merge of #81891 - CraftSpider:fn-header, r=jyn514 2021-02-14 16:54:45 +01:00
librustdoc Auto merge of #82020 - jyn514:mut-passes, r=camelid,GuillaumeGomez 2021-02-19 16:39:03 +00:00
llvm-project@70d09f218d Bump LLVM submodule 2021-01-27 23:08:54 +00:00
rustdoc-json-types Rollup merge of #81891 - CraftSpider:fn-header, r=jyn514 2021-02-14 16:54:45 +01:00
test Rollup merge of #82261 - ojeda:rustdoc-argfile, r=jyn514 2021-02-19 02:49:12 +01:00
tools Rollup merge of #82275 - ehuss:update-cargo, r=ehuss 2021-02-19 02:49:14 +01:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt Bump rustfmt version 2021-02-02 09:09:52 -05:00
version bump nightly version to 1.52.0 2021-02-05 16:25:08 +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.