rust/src
bors ed75d0686e Auto merge of #83339 - Aaron1011:deep-recollect, r=petrochenkov
Perform 'deep recollection' in test helper macros

Currently, the print helper macro performs 'recollection' by doing
`token_stream.into_iter().collect()`. However, this will not affect
nonterminals that occur nested inside delimited groups, since the
wrapping delimited group will be left untouched.

This commit adds 'deep recollection', which recursively recollects every
delimited group in the token stream. As with normal recollection, we
only print out something if deep recollection results in a different
stringified token stream.

This is useful for catching bugs where we update the AST of a
nonterminal (which affects pretty-printing), but do not update the
attatched `TokenStream`
2021-03-21 13:00:22 +00:00
..
bootstrap Auto merge of #82754 - rylev:rusage-windows, r=pnkfelix 2021-03-19 12:44:33 +00:00
build_helper
ci Auto merge of #83201 - klensy:checkout-v2, r=pietroalbini 2021-03-19 21:08:41 +00:00
doc Rollup merge of #82846 - GuillaumeGomez:doc-alias-list, r=jyn514 2021-03-19 15:03:21 +01:00
etc Update HashSet natvis 2021-03-17 10:07:09 +01:00
librustdoc update const_eval_resolve 2021-03-20 17:22:24 +01:00
llvm-project@c3a26cbf6e Update LLVM to bring in SIMD updates for WebAssembly 2021-03-18 16:04:39 -07:00
rustdoc-json-types x.py fmt 2021-03-06 15:50:29 -05:00
test Auto merge of #83339 - Aaron1011:deep-recollect, r=petrochenkov 2021-03-21 13:00:22 +00:00
tools Rollup merge of #83289 - c410-f3r:tests-tests-tests, r=petrochenkov 2021-03-21 02:01:38 +01:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt Update the bootstrap compiler 2021-02-20 17:19:30 -05:00
version Bump to 1.53.0 2021-03-20 12:19:30 -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.