rust/src
Mark Simulacrum b1de3519c9
Rollup merge of #51057 - pnkfelix:issue-51025-make-ui-tests-robust-wrt-nll, r=nikomatsakis
make ui tests robust with respect to NLL

This PR revises the `ui` tests that I could quickly identify that:
 1. previously had successful compilations under non-lexical lifetimes (NLL) because they assumed lexical lifetimes, but
 2. such assumption of lexical lifetimes was actually not necessarily part of the spirit of the original issue/bug we want to witness.

In many cases, this is simply a matter of adding a use of a borrow so that it gets extended long enough to observe a conflict.

(In some cases the revision was more subtle, such as adding a destructor, or revising the order of declaration of some variables.)

----

With these test revisions in place, I subsequently updated the expected stderr output under the NLL compiletest mode. So now we should get even more testing of NLL than we were before.

Fix #51025
2018-05-26 11:22:54 -06:00
..
bootstrap Rollup merge of #50864 - jakllsch:add-netbsd-arm-target-specs, r=alexcrichton 2018-05-24 16:02:37 +08:00
build_helper
ci
dlmalloc@c99638dc2e
doc Auto merge of #50070 - toidiu:ak-2093-outlives, r=nikomatsakis 2018-05-26 01:09:02 +00:00
etc rust-gdb: work around the re-used -d argument in cgdb 2018-05-21 20:58:19 -04:00
grammar
jemalloc@1f5a28755e
liballoc Auto merge of #51082 - kennytm:rollup, r=kennytm 2018-05-26 12:03:28 +00:00
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcompiler_builtins@4cfd7101eb
libcore Rollup merge of #51065 - mbrubeck:docs, r=rkruppe 2018-05-26 19:32:29 +08:00
libfmt_macros
libgraphviz
liblibc@a7e78a78e1
libpanic_abort
libpanic_unwind
libproc_macro Rename TokenStream::empty to TokenStream::new 2018-05-25 19:44:10 -07:00
libprofiler_builtins
librustc Auto merge of #51052 - nikomatsakis:obsolete-arrow, r=petrochenkov 2018-05-26 14:30:30 +00:00
librustc_allocator
librustc_apfloat
librustc_asan
librustc_borrowck
librustc_codegen_llvm Auto merge of #51041 - alexcrichton:better-unwind, r=nikomatsakis 2018-05-26 09:59:43 +00:00
librustc_codegen_utils
librustc_cratesio_shim
librustc_data_structures Auto merge of #51033 - coryshrmn:master, r=dtolnay 2018-05-25 22:18:27 +00:00
librustc_driver
librustc_errors Account for negative offsets in suggestions 2018-05-24 04:16:54 -07:00
librustc_incremental
librustc_lint Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
librustc_llvm
librustc_lsan
librustc_metadata Auto merge of #50528 - whitfin:issue-50508, r=michaelwoerister 2018-05-23 09:50:54 +00:00
librustc_mir Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakis 2018-05-26 19:32:22 +08:00
librustc_msan
librustc_passes pacify the mercilous tidy 2018-05-25 04:46:42 -04:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy rustc: move TypeParamDef's fields into GenericParamDefKind::Type. 2018-05-21 12:13:19 +03:00
librustc_resolve Fix naming conventions for new lints 2018-05-25 02:35:07 +03:00
librustc_save_analysis
librustc_target Replace ScalarKind with Primitive 2018-05-24 20:49:37 +02:00
librustc_traits pacify the mercilous tidy 2018-05-24 12:01:28 -04:00
librustc_tsan
librustc_typeck Rollup merge of #51049 - varkor:break-while-condition, r=nikomatsakis 2018-05-26 11:22:53 -06:00
librustdoc Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27 2018-05-24 17:34:55 +08:00
libserialize
libstd Rollup merge of #51056 - tbu-:pr_once_new, r=dtolnay 2018-05-26 19:32:24 +08:00
libstd_unicode
libsyntax Auto merge of #51052 - nikomatsakis:obsolete-arrow, r=petrochenkov 2018-05-26 14:30:30 +00:00
libsyntax_ext Auto merge of #50971 - alexcrichton:no-stringify, r=petrochenkov 2018-05-24 07:14:21 +00:00
libsyntax_pos
libterm
libtest
libunwind
llvm@9ad4b7e8d7 Update LLVM to pull in another wasm fix 2018-05-22 07:24:47 -07:00
llvm-emscripten@2717444753
rtstartup
rustc
rustllvm
stdsimd@a19ca1cd91
test Rollup merge of #51057 - pnkfelix:issue-51025-make-ui-tests-robust-wrt-nll, r=nikomatsakis 2018-05-26 11:22:54 -06:00
tools Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakis 2018-05-26 19:32:22 +08:00
Cargo.lock Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakis 2018-05-26 19:32:22 +08:00
Cargo.toml
README.md
stage0.txt

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc guide.

Their is also useful content in the following READMEs, which are gradually being moved over to the guide: