rust/src
Mazdak Farrokhzad db3bae0170
Rollup merge of #63495 - eddyb:mir-constant-ty, r=oli-obk
Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::PatternRange`.

Fixes #56137.

As a side-effect, associated const literals have the correct type now, which should make things easier for #61041.

r? @oli-obk / @matthewjasper cc @davidtwco @varkor
2019-08-16 18:22:23 +02:00
..
bootstrap Use libunwind from llvm-project submodule for musl targets 2019-08-15 08:45:10 -03:00
build_helper build_helper: rename (try_)run_silent -> (try_)run 2019-08-01 20:13:47 +02:00
ci Use libunwind from llvm-project submodule for musl targets 2019-08-15 08:45:10 -03:00
doc Rollup merge of #63353 - ehuss:update-books, r=ehuss 2019-08-08 07:35:38 +02:00
etc Check for lldb existences 2019-07-14 04:19:39 +00:00
grammar
liballoc Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
libarena Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
libcore Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin 2019-08-16 18:22:20 +02:00
libfmt_macros Rollup merge of #63121 - estebank:formatting-pos, r=alexcrichton 2019-08-03 00:09:06 +02:00
libgraphviz Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
libpanic_abort redox: convert to target_family unix 2019-08-06 16:18:23 -06:00
libpanic_unwind libpanic_unwind: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
libproc_macro Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
libprofiler_builtins Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc Remove redundant ty fields from mir::Constant and hair::pattern::PatternRange. 2019-08-16 15:20:27 +03:00
librustc_apfloat Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_asan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_ast_borrowck Do not downgrade NLL errors for bind_by_move_pattern_guards when AST says it is OK. 2019-07-30 06:43:06 +02:00
librustc_codegen_llvm Auto merge of #63343 - ishitatsuyuki:revert-62150, r=RalfJung 2019-08-11 09:58:01 +00:00
librustc_codegen_ssa Remove redundant ty fields from mir::Constant and hair::pattern::PatternRange. 2019-08-16 15:20:27 +03:00
librustc_codegen_utils Clear the ParamEnv where its information is irrelevant 2019-08-05 17:48:05 +02:00
librustc_data_structures Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
librustc_driver Ident::with_empty_ctxt -> Ident::with_dummy_span 2019-08-15 20:39:26 +03:00
librustc_errors syntax_pos: NO_EXPANSION/SyntaxContext::empty() -> SyntaxContext::root() 2019-08-15 20:38:12 +03:00
librustc_fs_util Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_incremental Rename ItemImplKind::Type to ItemImplKind::TyAlias 2019-08-04 20:16:41 +01:00
librustc_interface Remove Option from resolver 2019-08-10 07:52:07 -04:00
librustc_lexer librustc_lexer: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
librustc_lint hygiene: ExpnInfo -> ExpnData 2019-08-15 20:41:45 +03:00
librustc_llvm Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_lsan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_macros Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
librustc_metadata Ident::with_empty_ctxt -> Ident::with_dummy_span 2019-08-15 20:39:26 +03:00
librustc_mir rustc_mir: use the right type for associated const literals. 2019-08-16 15:20:27 +03:00
librustc_msan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_passes Remove Spanned from ast::Mac 2019-08-15 11:45:28 +03:00
librustc_plugin Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_privacy Remove Spanned from {ast,hir}::FieldPat 2019-08-15 12:31:50 +03:00
librustc_resolve resolve: ParentScope::default -> ParentScope::module 2019-08-15 20:47:15 +03:00
librustc_save_analysis syntax_pos: Introduce a helper for checking whether a span comes from expansion 2019-08-15 20:38:12 +03:00
librustc_target Rollup merge of #63467 - terhechte:support-ios-catalyst-macabi-target-triple, r=estebank 2019-08-15 14:34:02 +02:00
librustc_traits Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
librustc_tsan Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_typeck Rollup merge of #63612 - estebank:macro-sugg-try-into, r=Centril 2019-08-16 08:26:40 +02:00
librustdoc resolve: ParentScope::default -> ParentScope::module 2019-08-15 20:47:15 +03:00
libserialize Use associated_type_bounds where applicable - closes #61738 2019-08-08 22:39:15 +02:00
libstd Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
libsyntax hygiene: ExpnInfo -> ExpnData 2019-08-15 20:41:45 +03:00
libsyntax_ext hygiene: ExpnInfo -> ExpnData 2019-08-15 20:41:45 +03:00
libsyntax_pos hygiene: ExpnInfo -> ExpnData 2019-08-15 20:41:45 +03:00
libterm libterm: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
libtest Remove some more cfg(test)s 2019-08-02 02:40:01 +03:00
libunwind Use libunwind from llvm-project submodule for musl targets 2019-08-15 08:45:10 -03:00
llvm-emscripten@7f23313edf
llvm-project@48818e9f5d Update LLVM submodule 2019-08-09 19:17:18 +02:00
rtstartup
rustc
rustllvm Don't link mcjit/interpreter LLVM components 2019-07-20 17:17:48 +02:00
stdarch@4791ba85e7 Update stdarch submodule 2019-07-23 17:19:32 +02:00
test bless you nll 2019-08-16 15:54:11 +03:00
tools submodules: Update miri 2019-08-15 16:50:46 +00:00
README.md doc: the content has since been moved to the guide 2019-08-06 03:03:45 +02:00
stage0.txt Bump to 1.39 2019-08-13 07:16:04 -04: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 this README: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/lexical_region_resolve.