rust/src
bors 3cc3486733 Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov
Remove `ast::Guard`

With the introduction of `ast::ExprKind::Let` in https://github.com/rust-lang/rust/pull/60861, the `ast::Guard` structure is now redundant in terms of representing [`if let` guards](https://github.com/rust-lang/rust/issues/51114) in AST since it can be represented by `ExprKind::Let` syntactically. Therefore, we remove `ast::Guard` here.

However, we keep `hir::Guard` because the semantic representation is a different matter and this story is more unclear right now (might involve `goto 'arm` in HIR or something...).

r? @petrochenkov
2019-06-24 05:00:10 +00:00
..
bootstrap Make tidy quieter by default 2019-06-23 09:09:44 -04:00
build_helper Bump compiler-builtins to 0.1.15 2019-05-22 07:46:36 -07:00
ci Rollup merge of #61839 - alexcrichton:pr-and-master-builds, r=pietroalbini 2019-06-19 01:52:04 +02:00
doc Rollup merge of #61267 - michaelwoerister:update-xlto-table, r=alexcrichton 2019-06-22 01:42:33 +02:00
etc Auto merge of #61827 - golddranks:lldb_fix, r=nikomatsakis 2019-06-20 17:57:04 +00:00
grammar
liballoc Rollup merge of #61146 - czipperz:SliceConcatExt-connect-default-to-join, r=sfackler 2019-06-22 01:42:30 +02:00
libarena Make use of ptr::null(_mut) instead of casting zero 2019-06-17 10:52:46 +00:00
libcore Rollup merge of #62068 - ia0:fix_meta_var, r=petrochenkov 2019-06-23 01:59:20 +02:00
libfmt_macros Separate libfmt_macros module 2019-06-16 14:17:01 +03:00
libgraphviz Separate libgraphviz module 2019-06-16 13:08:09 +03:00
libpanic_abort
libpanic_unwind Make use of ptr::null(_mut) instead of casting zero 2019-06-17 10:52:46 +00:00
libproc_macro Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
libprofiler_builtins Ship profiler with windows-gnu 2019-05-23 13:32:30 +02:00
librustc Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
librustc_allocator syntax: Introduce default/with_unstable constructors for ExpnInfo 2019-06-18 10:48:56 +03:00
librustc_apfloat ignore-tidy-filelength on all files with greater than 3000 lines 2019-04-25 21:39:09 +01:00
librustc_asan
librustc_borrowck rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
librustc_codegen_llvm Rollup merge of #62068 - ia0:fix_meta_var, r=petrochenkov 2019-06-23 01:59:20 +02:00
librustc_codegen_ssa Deny explicit_outlives_requirements in the compiler 2019-06-22 17:13:19 +01:00
librustc_codegen_utils rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
librustc_cratesio_shim
librustc_data_structures Rollup merge of #62068 - ia0:fix_meta_var, r=petrochenkov 2019-06-23 01:59:20 +02:00
librustc_driver rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
librustc_errors Make use of ptr::null(_mut) instead of casting zero 2019-06-17 10:52:46 +00:00
librustc_fs_util
librustc_incremental rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
librustc_interface Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
librustc_lint Auto merge of #60861 - Centril:let-chains-ast-intro, r=petrochenkov 2019-06-23 12:28:12 +00:00
librustc_llvm Pass LLVM linker flags to librustc_llvm build 2019-06-10 19:50:34 -07:00
librustc_lsan
librustc_macros Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
librustc_metadata Rollup merge of #61898 - petrochenkov:sekind, r=eddyb 2019-06-19 01:52:10 +02:00
librustc_mir Deny explicit_outlives_requirements in the compiler 2019-06-22 17:13:19 +01:00
librustc_msan
librustc_passes let_chains: Revert 'fn with' in ast_validation. 2019-06-23 01:39:13 +02:00
librustc_plugin syntax: Factor out common fields from SyntaxExtension variants 2019-06-18 10:48:56 +03:00
librustc_privacy rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
librustc_resolve Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
librustc_save_analysis Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
librustc_target Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
librustc_traits rename hir::map::get_by_hir_id to get 2019-06-20 12:50:06 +02:00
librustc_tsan
librustc_typeck Deny explicit_outlives_requirements in the compiler 2019-06-22 17:13:19 +01:00
librustdoc Rollup merge of #61984 - ljedrz:more_node_id_pruning, r=Zoxc 2019-06-22 01:42:38 +02:00
libserialize Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
libstd Typo 2019-06-22 00:44:31 +02:00
libsyntax Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
libsyntax_ext Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
libsyntax_pos let_chains: Add feature gate. 2019-06-23 01:29:29 +02:00
libterm Remove unused #![feature(custom_attribute)]s 2019-06-08 23:55:24 +03:00
libtest Separate libtest module 2019-06-16 14:17:01 +03:00
libunwind std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
llvm-emscripten@7f23313edf
llvm-project@1bbe0b3e1d Update LLVM to fix VS 2019 compilation 2019-06-21 08:31:41 +02:00
rtstartup
rustc Remove leading newlines 2019-04-22 17:01:33 +01:00
rustllvm Limit internalization in LLVM 8 ThinLTO 2019-04-26 08:58:14 -07:00
stdsimd@4bf456c35e Breaking update of stdsimd 2019-04-22 09:07:25 +02:00
test Auto merge of #61778 - petrochenkov:pass, r=Mark-Simulacrum 2019-06-23 17:16:22 +00:00
tools Auto merge of #62037 - Mark-Simulacrum:tidy-fast, r=eddyb 2019-06-23 20:05:01 +00:00
.gitignore
README.md
stage0.txt bump nightly to 1.37.0 2019-05-23 12:27:58 +02:00

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.

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