rust/src
bors 803c60218f Auto merge of #79978 - Aaron1011:fix/capture-broken-token, r=petrochenkov
Properly capture trailing 'unglued' token

If we try to capture the `Vec<u8>` in `Option<Vec<u8>>`, we'll
need to capture a `>` token which was 'unglued' from a `>>` token.
The processing of unglueing a token for parsing purposes bypasses the
usual capturing infrastructure, so we currently lose the trailing `>`.
As a result, we fall back to the reparsed `TokenStream`, causing us to
lose spans.

This commit makes token capturing keep track of a trailing 'unglued'
token. Note that we don't need to care about unglueing except at the end
of the captured tokens - if we capture both the first and second unglued
tokens, then we'll end up capturing the full 'glued' token, which
already works correctly.
2020-12-13 19:31:06 +00:00
..
bootstrap Rollup merge of #79970 - bjorn3:no_unnecessary_llvm_checkout, r=Mark-Simulacrum 2020-12-13 11:05:43 +09:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci ci: use 20.04 on x86_64-gnu-nopt builder 2020-12-10 15:04:48 +00:00
doc Rollup merge of #79858 - sasurau4:doc/update-unstable-book-const-fn, r=oli-obk 2020-12-10 21:33:12 -08:00
etc Auto merge of #79235 - ortem:fix-btreemap-gdb-pretty-printer, r=Mark-Simulacrum 2020-12-02 04:12:33 +00:00
librustdoc Rollup merge of #79985 - GuillaumeGomez:fix-submit-event, r=jyn514 2020-12-13 11:05:48 +09:00
llvm-project@8d78ad1389 Update LLVM submodule 2020-12-09 00:00:00 +00:00
test Auto merge of #79978 - Aaron1011:fix/capture-broken-token, r=petrochenkov 2020-12-13 19:31:06 +00:00
tools Auto merge of #79969 - petrochenkov:outestidy, r=Mark-Simulacrum 2020-12-12 17:24:29 +00:00
README.md
stage0.txt Bump bootstrap compiler version 2020-11-19 19:23:36 -05:00
version bump version to 1.50.0 2020-11-13 09:47:16 +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.