rust/src
Jennifer Wills 52dba13e41 Replace closures_captures and upvar_capture with closure_min_captures
make changes to liveness to use closure_min_captures

use different span

borrow check uses new structures

rename to CapturedPlace

stop using upvar_capture in regionck

remove the bridge

cleanup from rebase + remove the upvar_capture reference from mutability_errors.rs

remove line from livenes test

make our unused var checking more consistent

update tests

adding more warnings to the tests

move is_ancestor_or_same_capture to rustc_middle/ty

update names to reflect the closures

add FIXME

check that all captures are immutable borrows before returning

add surrounding if statement like the original

move var out of the loop and rename

Co-authored-by: Logan Mosier <logmosier@gmail.com>
Co-authored-by: Roxane Fruytier <roxane.fruytier@hotmail.com>
2021-03-18 20:45:49 -04:00
..
bootstrap Make bootstrap be more informative when one does x.py test on a beta checkout without other mods. 2021-03-15 23:19:35 -04:00
build_helper
ci Rollup merge of #83204 - jethrogb:jb/sgx-c-build, r=joshtriplett,raoulstrackx 2021-03-18 00:28:12 +01:00
doc Rollup merge of #83206 - ehuss:update-books, r=ehuss 2021-03-17 15:20:59 +09:00
etc Update HashSet natvis 2021-03-17 10:07:09 +01:00
librustdoc hir: Preserve used syntax in TyKind::TraitObject 2021-03-18 03:02:32 +03:00
llvm-project@62a1ddde22 Update llvm-project submodule 2021-03-11 22:04:10 +01:00
rustdoc-json-types x.py fmt 2021-03-06 15:50:29 -05:00
test Replace closures_captures and upvar_capture with closure_min_captures 2021-03-18 20:45:49 -04:00
tools update Miri 2021-03-18 12:14:31 +01:00
README.md
stage0.txt
version

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.