rust/src
Manish Goregaokar 0c4e37ad5c
Rollup merge of #87953 - m-ou-se:closure-migration-multiline-formatting, r=petrochenkov
Improve formatting of closure capture migration suggestion for multi-line closures.

Fixes https://github.com/rust-lang/rust/issues/87952

Before:
```
help: add a dummy let to cause `a` to be fully captured
  |
5 ~     let _ = || { let _ = &a;
6 +         dbg!(a.0);
7 ~     };
  |
```

After:
```
help: add a dummy let to cause `a` to be fully captured
  |
5 ~     let _ = || {
6 +         let _ = &a;
7 +         dbg!(a.0);
8 ~     };
  |
```
2021-08-12 10:04:15 -07:00
..
bootstrap Rollup merge of #87744 - Smittyvb:xpy-test-force-rerun, r=Mark-Simulacrum 2021-08-08 01:13:41 +09:00
build_helper rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
ci Auto merge of #85782 - badboy:build-ios-sim-target, r=Mark-Simulacrum 2021-08-01 00:12:18 +00:00
doc Auto merge of #87666 - ivmarkov:master, r=Amanieu 2021-08-12 10:33:14 +00:00
etc set the executable bit on pre-commit.sh 2021-08-11 15:06:33 -04:00
librustdoc Fix heading colours in Ayu theme 2021-08-08 22:35:51 +10:00
llvm-project@260e0f8682 Bump LLVM for RegAllocFast bugfix 2021-07-29 19:23:41 -05:00
rustdoc-json-types rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
test Rollup merge of #87953 - m-ou-se:closure-migration-multiline-formatting, r=petrochenkov 2021-08-12 10:04:15 -07:00
tools Rollup merge of #87941 - GuillaumeGomez:fix-rustdoc-js-tool, r=notriddle 2021-08-12 13:25:08 +02:00
README.md
stage0.txt bump bootstrap compiler to 1.55 2021-08-01 11:19:24 -04:00
version Bump to 1.56 2021-07-23 17:04:59 -04: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.