rust/src
Josh Stone 538a0963ff Add as_slice() to slice::IterMut and vec::Drain
In bluss/indexmap#88, we found that there was no easy way to implement
`Debug` for our `IterMut` and `Drain` iterators. Those are built on
`slice::IterMut` and `vec::Drain`, which implement `Debug` themselves,
but have no other way to access their data. With a new `as_slice()`
method, we can read the data and customize its presentation.
2019-03-04 15:12:45 -08:00
..
bootstrap Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07:00
build_helper rustc: doc comments 2019-02-10 23:42:32 +00:00
ci Update toolchain to build NetBSD release 2019-03-01 10:34:08 -08:00
doc Auto merge of #58800 - ehuss:update-books, r=Centril 2019-03-01 22:12:27 +00:00
etc Rollup merge of #58489 - xfix:fix-keyword-tests-runtime-error, r=alexcrichton 2019-02-17 14:52:20 +08:00
grammar
liballoc Add as_slice() to slice::IterMut and vec::Drain 2019-03-04 15:12:45 -08:00
libarena libarena => 2018 2019-02-11 23:49:48 +01:00
libcore Add as_slice() to slice::IterMut and vec::Drain 2019-03-04 15:12:45 -08:00
libfmt_macros Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
libgraphviz Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichton 2019-02-12 23:30:16 +00:00
libpanic_abort SGX target: fix panic = abort 2019-02-14 12:39:54 +05:30
libpanic_unwind libpanic_unwind => 2018: remove unused extern crate. 2019-02-13 18:09:09 +01:00
libproc_macro Use ? in some macros 2019-02-24 21:59:44 +09:00
libprofiler_builtins Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc Auto merge of #58425 - wesleywiser:more_profiler_changes, r=michaelwoerister 2019-03-03 19:48:12 +00:00
librustc_allocator Auto merge of #58098 - oli-obk:maybe_allow_internal_unstable, r=petrochenkov 2019-02-12 12:10:10 +00:00
librustc_apfloat Stabilize TryFrom and TryInto 2019-02-13 18:00:18 +01:00
librustc_asan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_borrowck hir: remove NodeId from Pat and FieldPat 2019-03-02 07:48:52 +01:00
librustc_codegen_llvm Auto merge of #58408 - alexcrichton:update-llvm, r=michaelwoerister 2019-03-01 01:22:15 +00:00
librustc_codegen_ssa Auto merge of #58425 - wesleywiser:more_profiler_changes, r=michaelwoerister 2019-03-03 19:48:12 +00:00
librustc_codegen_utils hir: remove NodeId from TraitItem 2019-03-01 11:18:49 +01:00
librustc_cratesio_shim librustc_cratesio_shim => 2018 2019-02-08 20:55:12 +09:00
librustc_data_structures Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07:00
librustc_driver Remove profiler output and replace with a raw event dump 2019-03-03 10:07:32 -05:00
librustc_errors Use ? in some macros 2019-02-24 21:59:44 +09:00
librustc_fs_util rustc: doc comments 2019-02-10 23:42:32 +00:00
librustc_incremental hir: remove NodeId from TraitItem 2019-03-01 11:18:49 +01:00
librustc_interface hir: remove NodeId from Item 2019-03-02 07:48:52 +01:00
librustc_lint hir: HirIdify Impl&TraitItemId 2019-03-02 07:48:53 +01:00
librustc_llvm Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_lsan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_metadata hir: remove NodeId from VariantData 2019-03-02 07:48:52 +01:00
librustc_mir Auto merge of #58380 - estebank:missing-match-pats, r=zackmdavis 2019-03-04 04:46:38 +00:00
librustc_msan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_passes hir: remove NodeId from Pat and FieldPat 2019-03-02 07:48:52 +01:00
librustc_plugin hir: remove NodeId from Item 2019-03-02 07:48:52 +01:00
librustc_privacy hir: HirIdify Impl&TraitItemId 2019-03-02 07:48:53 +01:00
librustc_resolve Rollup merge of #58678 - doctorn:refuse-async-fn-2015-edition, r=varkor 2019-02-27 13:32:21 +01:00
librustc_save_analysis Auto merge of #57760 - dlrobertson:varargs1, r=alexreg 2019-02-28 15:00:25 +00:00
librustc_target Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
librustc_traits hir: remove NodeId from TraitItem 2019-03-01 11:18:49 +01:00
librustc_tsan Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
librustc_typeck hir: HirIdify Impl&TraitItemId 2019-03-02 07:48:53 +01:00
librustdoc hir: remove NodeId from VariantData 2019-03-02 07:48:52 +01:00
libserialize Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
libstd Auto merge of #58793 - Mark-Simulacrum:master-next, r=alexcrichton 2019-03-03 05:51:44 +00:00
libsyntax Fix C-variadic function printing 2019-03-02 15:03:09 +00:00
libsyntax_ext Rollup merge of #58678 - doctorn:refuse-async-fn-2015-edition, r=varkor 2019-02-27 13:32:21 +01:00
libsyntax_pos update scoped_tls to 1.0 2019-02-26 09:54:45 +01:00
libterm replace deprecated rustfmt_skip with rustfmt::skip 2019-02-23 22:40:56 +01:00
libtest Simplify exclude_should_panic flag. 2019-02-24 11:58:08 -05:00
libunwind Revert removed #![feature(nll)] 2019-02-10 16:13:30 +09:00
llvm-emscripten@7f23313edf
llvm-project@38ad31bde8 rustc: Update LLVM, remove dead wasm code 2019-02-26 07:20:17 -08:00
rtstartup
rustc rustc: Fix regression where jemalloc isn't used 2019-01-03 13:52:36 -08:00
rustllvm Implement ffi_returns_twice attribute 2019-02-23 15:48:40 +01:00
stdsimd@359845eb7c Update stdsimd 2019-02-24 11:31:49 +01:00
test Auto merge of #58380 - estebank:missing-match-pats, r=zackmdavis 2019-03-04 04:46:38 +00:00
tools Update Clippy 2019-03-03 23:51:24 +01:00
.gitignore
README.md remove link to removed readme 2019-01-15 19:48:37 -06:00
stage0.txt Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07: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: