rust/src
bors 0ef2b4a29b Auto merge of #85755 - b-naber:unexpected_concrete_region, r=nikomatsakis
Replace parent substs of associated types with inference vars in borrow checker

Fixes https://github.com/rust-lang/rust/issues/83190
Fixes https://github.com/rust-lang/rust/issues/78450

When we normalize an associated type that refers to an opaque type, it can happen that the substs of the associated type do not occur in the projection (they are parent substs). We previously didn't replace those substs with inference vars, which left a concrete region after all regions should have already been replaced with inference vars and triggered a `delay_span_bug`. After we normalize the opaque type, we now try to replace any remaining concrete regions with inference vars.
2021-06-17 12:31:56 +00:00
..
bootstrap Allow to run only a few GUI tests 2021-06-14 16:40:10 +02:00
build_helper Revert "Move llvm submodule updates to rustbuild" 2021-05-24 17:52:18 -04:00
ci Update browser-ui-test version 2021-06-13 21:49:30 +02:00
doc Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
etc rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
librustdoc Rollup merge of #86361 - GuillaumeGomez:missing-backslashes, r=jsha 2021-06-17 05:55:01 +09:00
llvm-project@39c5555872 Update LLVM submodule 2021-05-23 18:05:11 +10:00
rustdoc-json-types rustdoc- Show defaults on const generics 2021-06-03 09:01:25 +01:00
test Auto merge of #85755 - b-naber:unexpected_concrete_region, r=nikomatsakis 2021-06-17 12:31:56 +00:00
tools Rollup merge of #86293 - GuillaumeGomez:filter-gui-tests-run, r=jsha 2021-06-16 13:31:11 +09:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
version Bump to 1.54 2021-06-11 19:19:55 -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.