rust/src
bors 1f3b65921e Auto merge of #69573 - pnkfelix:issue-53114-add-tests, r=Centril
tests encoding current behavior for various cases of "binding" to _.

The `_` binding form is special, in that it encodes a "no-op": nothing is actually bound, and thus nothing is moved or borrowed in this scenario. Usually we do the "right" thing in all such cases. The exceptions are explicitly pointed out in this test case, so that we keep track of whether they are eventually fixed.

Cc #53114.

(This does not close the aforementioned issue; it just adds the tests encoding the current behavior, which we hope to eventually fix.)
2020-04-11 06:44:47 +00:00
..
bootstrap Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
build_helper
ci Auto merge of #66605 - GuillaumeGomez:drop-python2, r=Mark-Simulacrum 2020-04-10 16:13:20 +00:00
doc Fix JSON file_name documentation for macros. 2020-04-09 18:54:53 -07:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Rollup merge of #70981 - ssomers:btreemap_into_into_iter, r=Mark-Simulacrum 2020-04-10 18:15:24 +02:00
libarena
libcore Rollup merge of #70896 - cuviper:optional-chain, r=scottmcm 2020-04-09 05:29:43 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind Make panic unwind the default for aarch64-*-windows-msvc targets 2020-04-03 09:41:58 -07:00
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast Rollup merge of #70519 - estebank:constraints-before-args-spans, r=Centril 2020-04-06 04:24:15 +02:00
librustc_ast_lowering librustc_hir: return LocalDefId instead of DefId in local_def_id 2020-04-08 00:43:56 +01:00
librustc_ast_passes Rollup merge of #70519 - estebank:constraints-before-args-spans, r=Centril 2020-04-06 04:24:15 +02:00
librustc_ast_pretty Rollup merge of #70519 - estebank:constraints-before-args-spans, r=Centril 2020-04-06 04:24:15 +02:00
librustc_attr
librustc_builtin_macros
librustc_codegen_llvm fix abuses of tykind::err 2020-04-07 22:47:25 -05:00
librustc_codegen_ssa fix rustc-dev-guide url in src/librustc_codegen_ssa 2020-04-10 22:48:34 +08:00
librustc_data_structures Use tri-color search for unconditional recursion lint 2020-04-09 21:07:48 -07:00
librustc_driver comment refers to removed type 2020-04-04 20:30:09 +02:00
librustc_error_codes Rollup merge of #70985 - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC 2020-04-10 18:15:26 +02:00
librustc_errors Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_expand macro_rules: NtLifetime cannot start with an identifier 2020-04-04 16:23:43 +03:00
librustc_feature
librustc_fs_util
librustc_hir Rollup merge of #70913 - eddyb:rc-arc-diagnostic-items, r=matthewjasper 2020-04-10 12:48:45 +02:00
librustc_hir_pretty
librustc_incremental
librustc_index Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_infer Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_interface librustc_middle: return LocalDefId instead of DefId in body_owner_def_id 2020-04-10 12:13:54 +01:00
librustc_lexer Handle unterminated raw strings with no #s properly 2020-04-02 01:02:55 -04:00
librustc_lint librustc_middle: return LocalDefId instead of DefId in body_owner_def_id 2020-04-10 12:13:54 +01:00
librustc_llvm
librustc_macros Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_metadata Speed up path searching with find_library_crate. 2020-04-07 09:21:15 +10:00
librustc_middle Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_mir Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_mir_build Use tri-color search for unconditional recursion lint 2020-04-09 21:07:48 -07:00
librustc_parse .unwrap() less on .span_to_snippet() 2020-04-03 03:17:40 +02:00
librustc_passes librustc_middle: return LocalDefId instead of DefId in get_parent_did 2020-04-10 12:13:54 +01:00
librustc_plugin_impl
librustc_privacy librustc_middle: return LocalDefId instead of DefId in get_parent_did 2020-04-10 12:13:54 +01:00
librustc_query_system
librustc_resolve Auto merge of #70909 - marmeladema:issue70853/librustc_hir-local-def-id, r=eddyb 2020-04-09 23:22:23 +00:00
librustc_save_analysis librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id 2020-04-10 12:13:54 +01:00
librustc_session mark a temporary hack as such 2020-04-09 23:02:13 +02:00
librustc_span Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_symbol_mangling
librustc_target Rollup merge of #70704 - danielframpton:aarch64-windows-panic-unwind-default, r=alexcrichton 2020-04-06 04:24:16 +02:00
librustc_trait_selection Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_traits ty: switch Ty::walk from Ty to GenericArg. 2020-04-06 21:55:50 +03:00
librustc_ty Query-ify Instance::resolve 2020-04-05 01:21:36 -04:00
librustc_typeck Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustdoc librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id 2020-04-10 12:13:54 +01:00
libserialize Use assoc integer constants in libserialize 2020-04-07 00:43:15 +02:00
libstd Rollup merge of #67705 - lzutao:wmemchr, r=wesleywiser 2020-04-09 05:29:36 +02:00
libterm
libtest Stop importing float module in libtest 2020-04-06 22:45:44 +02:00
libunwind
llvm-project@027e428197 Make panic unwind the default for aarch64-*-windows-msvc targets 2020-04-03 09:41:58 -07:00
rtstartup
rustc
rustllvm Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
stdarch@1a577bd78e Bump stdarch submodule 2020-04-06 22:16:09 +02:00
test Auto merge of #69573 - pnkfelix:issue-53114-add-tests, r=Centril 2020-04-11 06:44:47 +00:00
tools Auto merge of #70994 - Centril:rollup-lftv0a3, r=Centril 2020-04-10 19:28:38 +00:00
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 dev guide.