rust/src
Mazdak Farrokhzad 46bf6ad416
Rollup merge of #64937 - estebank:dedup-closure-err, r=Centril
Deduplicate closure type errors

Closure typing obligations flow in both direcitons to properly infer
types. Because of this, we will get 2 type errors whenever there's
an unfulfilled obligation. To avoid this, we deduplicate them in the
`InferCtxt`.
2019-10-01 09:55:39 +02:00
..
bootstrap Switch version to 1.40 2019-09-25 08:20:32 -04:00
build_helper
ci Use https for curl when building for linux 2019-09-29 13:33:12 -07:00
doc Remove legacy grammar 2019-09-30 07:46:10 +02:00
etc ignore-x86 instead of ignore-musl 2019-09-22 11:33:13 -07:00
liballoc Rollup merge of #64893 - SimonSapin:vec-of-option-box, r=sfackler 2019-09-30 14:38:27 -07:00
libarena
libcore Rollup merge of #64923 - lzutao:improve-doc-needs_drop, r=jonas-schievink 2019-09-30 14:38:32 -07:00
libfmt_macros Cleaned up a few doc comments in libfmt_macros. 2019-09-30 01:15:48 +01:00
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
libprofiler_builtins
librustc Rollup merge of #64937 - estebank:dedup-closure-err, r=Centril 2019-10-01 09:55:39 +02:00
librustc_apfloat
librustc_asan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_codegen_llvm remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_codegen_ssa remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_codegen_utils Switch over all StableHash impls to new format 2019-09-28 11:47:36 -04:00
librustc_data_structures remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_driver Rollup merge of #64799 - Aaron1011:fix/double-panic, r=Mark-Simulacrum 2019-09-29 04:36:01 +02:00
librustc_errors Fix borrowck errors 2019-10-01 03:22:07 +03:00
librustc_fs_util
librustc_incremental Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_index remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_interface Fixed grammar for some time fn calls and a diagnostic. 2019-09-30 01:15:24 +01:00
librustc_lexer fill metadata in rustc_lexer's Cargo.toml 2019-09-05 23:03:50 +03:00
librustc_lint remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_llvm fix a few typos in comments 2019-09-04 23:25:51 +08:00
librustc_lsan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_macros Stabilize proc macros in type positions 2019-09-30 21:59:35 +03:00
librustc_metadata remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_mir Rollup merge of #64828 - ecstatic-morse:generic-dataflow-graphviz, r=oli-obk 2019-09-30 14:38:22 -07:00
librustc_msan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_passes Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
librustc_plugin Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_privacy Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_resolve Rollup merge of #64691 - estebank:unexpected-variant, r=Centril 2019-09-29 20:34:12 +02:00
librustc_save_analysis Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
librustc_target remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_traits Remove lift_to_global 2019-09-27 13:33:50 -04:00
librustc_tsan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_typeck Rollup merge of #64930 - davidtwco:issue-61798-diverging-await, r=petrochenkov 2019-10-01 09:55:37 +02:00
librustdoc Auto merge of #64778 - csmoe:index, r=eddyb 2019-09-30 13:33:15 +00:00
libserialize Tweak libserialize allows 2019-09-23 09:34:44 -07:00
libstd async/await: improve obligation errors 2019-09-30 23:41:20 +01:00
libsyntax Rollup merge of #64907 - alexreg:tidy-up, r=Mark-Simulacrum 2019-10-01 09:55:34 +02:00
libsyntax_ext syntax: Support modern attribute syntax in the meta matcher 2019-09-30 22:58:22 +03:00
libsyntax_pos Rollup merge of #64907 - alexreg:tidy-up, r=Mark-Simulacrum 2019-10-01 09:55:34 +02:00
libterm
libtest Spawn one subprocess per unit test when panic=abort 2019-09-28 13:52:18 -07:00
libunwind
llvm-emscripten@7f23313edf
llvm-project@8adf9bdccf Update to LLVM 9.0.0 2019-09-20 09:36:03 -07:00
rtstartup
rustc
rustllvm
stdarch@e0ab2c165a Move --cfg bootstrap out of rustc.rs 2019-09-23 09:34:44 -07:00
test Rollup merge of #64937 - estebank:dedup-closure-err, r=Centril 2019-10-01 09:55:39 +02:00
tools Auto merge of #64881 - RalfJung:miri, r=RalfJung 2019-09-30 02:09:43 +00:00
README.md
stage0.txt Switch version to 1.40 2019-09-25 08:20:32 -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.