rust/src
bors 7cc8c44871 Auto merge of #89648 - nbdd0121:issue-89606, r=nikomatsakis
Ignore type of projections for upvar capturing

Fix #89606

Ignore type of projections for upvar capturing. Originally HashMap is used, and the hash/eq implementation of Place takes the type of projections into account. These types may differ by lifetime which causes #89606 to ICE.

I originally considered erasing regions but `place.ty()` is used when creating upvar tuple type, more than just serving as a key type, so I switched to a linear comparison with custom eq (`compare_place_ignore_ty`) instead.

r? `@wesleywiser`

`@rustbot` label +T-compiler
2021-10-11 21:39:11 +00:00
..
bootstrap Rollup merge of #89655 - tlyu:find-non-merge-commits, r=jyn514 2021-10-11 14:11:41 +02:00
build_helper Migrate to 2021 2021-09-20 22:21:42 -04:00
ci CI: Use mirror for downloads. 2021-10-08 08:44:40 +02:00
doc Rollup merge of #89713 - nbdd0121:doc2, r=Amanieu 2021-10-10 18:22:22 +02:00
etc Encode json files with UTF-8 2021-09-30 00:11:14 +09:00
librustdoc Cleanup .item-table CSS 2021-10-11 10:53:48 +02:00
llvm-project@a7348ae0df Update to the final LLVM 13.0.0 release 2021-10-01 21:06:19 -07:00
rustdoc-json-types Remove special-casing of never primitive in rustdoc-json-types 2021-10-08 16:53:39 +02:00
test Auto merge of #89648 - nbdd0121:issue-89606, r=nikomatsakis 2021-10-11 21:39:11 +00:00
tools Auto merge of #83908 - Flying-Toast:master, r=davidtwco 2021-10-11 17:12:14 +00:00
README.md
stage0.json Bump stage0 compiler to 1.56 2021-09-08 20:51:05 -04:00
version Bump version to 1.57 2021-09-03 21:54:48 -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.