rust/src
bors e821a6ef78 Auto merge of #80261 - GuillaumeGomez:attr-rework, r=jyn514
rustdoc DocFragment rework

Kind of a follow-up of #80119.

A few things are happening in this PR. I'm not sure about the impact on perf though so I'm very interested about that too (if the perf is worse, then we can just close this PR).

The idea here is mostly about reducing the memory usage by relying even more on `Symbol` instead of `String`. The only issue is that `DocFragment` has 3 modifications performed on it:
 1. Unindenting
 2. Collapsing similar comments into one
 3. "Beautifying" (weird JS-like comments handling).

To do so, I saved the information about unindent and the "collapse" is now on-demand (which is why I'm not sure the perf will be better, it has to be run multiple times...).

r? `@jyn514`
2021-01-03 06:29:42 +00:00
..
bootstrap Rollup merge of #80574 - jyn514:clean-bootstrap, r=Mark-Simulacrum 2021-01-02 11:29:10 +00:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci Auto merge of #80435 - pietroalbini:compression-formats, r=Mark-Simulacrum 2020-12-31 00:23:13 +00:00
doc Merge remote-tracking branch 'origin/master' into frewsxcv-san 2020-12-31 23:27:33 -05:00
etc Rollup merge of #80311 - sivadeilra:natvis, r=petrochenkov 2020-12-30 22:49:19 +09:00
librustdoc Auto merge of #80261 - GuillaumeGomez:attr-rework, r=jyn514 2021-01-03 06:29:42 +00:00
llvm-project@fb115ee43b Update LLVM 2020-12-30 19:14:15 +00:00
test Auto merge of #80261 - GuillaumeGomez:attr-rework, r=jyn514 2021-01-03 06:29:42 +00:00
tools Use bootstrap rustc for versioncheck in Clippy 2021-01-02 18:12:28 +01:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt Bump bootstrap compiler to 1.50 beta 2020-12-30 09:27:19 -05:00
version Bump version to 1.51 2020-12-25 10:42:53 -05: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.