rust/src
Pietro Albini 1ffa93e5f8
Rollup merge of #66096 - ecstatic-morse:const-loop-test, r=Centril
Add a failing UI test for multiple loops of all kinds in a `const`

This simply demonstrates the current behavior and ensures we don't allow anything by accident.

The new const checker will be able to improve the diagnostics here. While working on it, I didn't see very many tests with non-`while` loops in a `const`, and there were no tests with multiple loops.
2019-11-05 09:50:00 +01:00
..
bootstrap Auto merge of #65911 - mati865:static-libstdcxx-mingw, r=alexcrichton 2019-11-05 00:30:58 +00:00
build_helper show up some extra info when t!() fails 2019-10-17 17:01:49 +08:00
ci Rollup merge of #65955 - pietroalbini:master-revert-msys2-hack, r=Mark-Simulacrum 2019-10-31 02:54:08 +01:00
doc Rollup merge of #65136 - ehuss:update-codegen-options, r=Dylan-DPC 2019-11-05 09:49:47 +01:00
etc
liballoc Rollup merge of #66038 - jdxcode:char-len, r=alexcrichton 2019-11-05 09:49:56 +01:00
libarena
libcore Rollup merge of #66038 - jdxcode:char-len, r=alexcrichton 2019-11-05 09:49:56 +01:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind Make Emscripten unwinding use a valid type_info 2019-11-03 14:04:15 +00:00
libproc_macro proc_macro: don't use Rust ABI fn pointers in a C ABI fn signature. 2019-10-28 20:34:59 +02:00
libprofiler_builtins
librustc Auto merge of #65835 - Mark-Simulacrum:lockless-lintbuffer, r=nikomatsakis 2019-11-04 09:00:39 +00:00
librustc_apfloat Update bitflags 2019-10-25 23:26:27 +01:00
librustc_asan
librustc_codegen_llvm Rollup merge of #65720 - icefoxen:LLVMgetInstructionCount, r=rkruppe 2019-11-05 09:49:50 +01:00
librustc_codegen_ssa Rollup merge of #66018 - pnkfelix:issue-64872-revert-64324, r=alexcrichton 2019-11-01 11:20:29 -07:00
librustc_codegen_utils rustc: Add a convenience alias for dyn MetadataLoader + Sync 2019-10-24 20:51:33 +03:00
librustc_data_structures Rollup merge of #65997 - spastorino:fix-init_locking-rustdoc, r=Mark-Simulacrum 2019-11-01 11:20:25 -07:00
librustc_driver Remove lint callback from driver 2019-10-25 19:27:57 -04:00
librustc_errors Auto merge of #65827 - AnthonyMikh:out_of_the_loop, r=estebank 2019-11-03 11:51:44 +00:00
librustc_fs_util
librustc_incremental Rollup merge of #65470 - traxys:fix_65401, r=michaelwoerister 2019-11-01 11:20:09 -07:00
librustc_index doc: make BitSet intro more short 2019-10-18 01:16:30 +02:00
librustc_interface Delete lint buffer from Session 2019-11-03 21:52:42 -05:00
librustc_lexer librustc_lexer: Enhance documentation 2019-10-27 20:08:08 +03:00
librustc_lint Do not needlessly write-lock 2019-11-03 16:52:27 -05:00
librustc_llvm Statically link libstdc++ on windows-gnu 2019-10-30 23:18:57 +01:00
librustc_lsan
librustc_macros
librustc_metadata Auto merge of #65838 - estebank:resilient-recovery, r=Centril 2019-11-04 02:30:45 +00:00
librustc_mir Auto merge of #65874 - Nadrieril:clarify-usefulness, r=varkor 2019-11-04 21:06:50 +00:00
librustc_msan
librustc_passes Auto merge of #65835 - Mark-Simulacrum:lockless-lintbuffer, r=nikomatsakis 2019-11-04 09:00:39 +00:00
librustc_plugin rustc_metadata: Move some code around 2019-10-24 20:51:33 +03:00
librustc_privacy Rollup merge of #65252 - petrochenkov:deriveholders2, r=matthewjasper 2019-10-19 07:10:04 +02:00
librustc_resolve Delete lint buffer from Session 2019-11-03 21:52:42 -05:00
librustc_save_analysis save-analysis: Account for async desugaring in async fn return types 2019-10-29 16:25:37 +01:00
librustc_target Rollup merge of #65832 - tlively:emscripten-exception-handling, r=alexcrichton 2019-10-29 12:01:38 -07:00
librustc_traits Rename ConstValue::Infer(InferConst::Canonical(..)) to ConstValue::Bound(..) 2019-10-21 20:50:41 +01:00
librustc_tsan
librustc_typeck Rollup merge of #66042 - ohadravid:suggest-correct-code-when-ref-current-trait, r=estebank 2019-11-05 09:49:58 +01:00
librustdoc Auto merge of #65780 - GuillaumeGomez:move-help-popup-generation-code, r=Mark-Simulacrum 2019-11-03 21:55:48 +00:00
libserialize Remove unnecessary Hash bounds from various types. 2019-10-21 13:48:20 +11:00
libstd Rollup merge of #65905 - cuviper:doc-unix-mode, r=Dylan-DPC 2019-11-05 09:49:52 +01:00
libsyntax Auto merge of #65838 - estebank:resilient-recovery, r=Centril 2019-11-04 02:30:45 +00:00
libsyntax_expand Auto merge of #66078 - petrochenkov:gateout, r=Centril 2019-11-04 12:16:00 +00:00
libsyntax_ext rustc, rustc_passes: don't depend on syntax_expand. 2019-10-27 17:05:57 +01:00
libsyntax_pos Rollup merge of #65902 - gilescope:issue62570, r=estebank 2019-11-01 11:20:14 -07:00
libterm
libtest Rollup merge of #65898 - hermitcore:rusty-hermit, r=kennytm 2019-10-29 12:01:41 -07:00
libunwind Allow foreign exceptions to unwind through Rust code 2019-11-03 14:03:21 +00:00
llvm-project@14a3b12307
rtstartup
rustc
rustllvm Add FFI bindings for Module::getInstructionCount() 2019-11-02 10:28:05 -04:00
stdarch@e0ab2c165a
test Rollup merge of #66096 - ecstatic-morse:const-loop-test, r=Centril 2019-11-05 09:50:00 +01:00
tools Validate error patterns and error annotation in ui tests when present 2019-11-03 10:20:11 +01:00
README.md remove the last remaining READMEs 2019-10-24 13:32:54 -05:00
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.