rust/src
Simonas Kazlauskas 4c8d00a3ec rustdoc: generate implementors for all auto traits
Previously we would only generate a list of synthetic implementations
for two well known traits – Send and Sync. With this patch all the auto
traits known to rustc are considered. This includes such traits like
Unpin and user’s own traits.

Sadly the implementation still iterates through the list of crate items
and checks them against the traits, which for non-std crates containing
their own auto-traits will still not include types defined in std/core.

It is an improvement nontheless.
2019-06-20 17:36:43 +03:00
..
bootstrap Auto merge of #61864 - lzutao:ptr-null, r=sfackler 2019-06-18 05:16:26 +00: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 syntax: Factor out common fields from SyntaxExtension variants 2019-06-18 10:48:56 +03:00
etc ci: Add a script for generating CPU usage graphs 2019-06-18 09:51:39 -07:00
grammar
liballoc Rollup merge of #61893 - chpio:weak_ptr_eq_methods, r=rkruppe 2019-06-17 20:56:00 +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 #60772 - timvermeulen:slice_iter_nth_back, r=scottmcm 2019-06-20 08:36:00 +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
libprofiler_builtins Ship profiler with windows-gnu 2019-05-23 13:32:30 +02:00
librustc Rollup merge of #61968 - eddyb:hir-noclone, r=petrochenkov 2019-06-20 08:36:03 +02:00
librustc_allocator syntax: Introduce default/with_unstable constructors for ExpnInfo 2019-06-18 10:48:56 +03:00
librustc_apfloat
librustc_asan
librustc_borrowck Run rustfmt --file-lines ... for changes from previous commits. 2019-06-18 18:10:26 +03:00
librustc_codegen_llvm Weave the alignment through ByRef 2019-06-19 09:53:32 +02:00
librustc_codegen_ssa Weave the alignment through ByRef 2019-06-19 09:53:32 +02:00
librustc_codegen_utils Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
librustc_cratesio_shim
librustc_data_structures Auto merge of #61347 - Centril:stabilize-underscore_const_names, r=petrochenkov 2019-06-16 20:33:55 +00:00
librustc_driver rustc: remove 'x: 'y bounds (except from comments/strings). 2019-06-18 18:10:21 +03: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 Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03: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 #61172 - matthewjasper:cleanup-implied-bounds-lint, r=varkor 2019-06-19 12:41:38 +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 Rollup merge of #61968 - eddyb:hir-noclone, r=petrochenkov 2019-06-20 08:36:03 +02:00
librustc_msan
librustc_passes Rollup merge of #61941 - cramertj:no-more-yield-errors, r=centril 2019-06-19 01:52:13 +02:00
librustc_plugin syntax: Factor out common fields from SyntaxExtension variants 2019-06-18 10:48:56 +03:00
librustc_privacy rustc: remove 'x: 'y bounds (except from comments/strings). 2019-06-18 18:10:21 +03:00
librustc_resolve Rollup merge of #61898 - petrochenkov:sekind, r=eddyb 2019-06-19 01:52:10 +02:00
librustc_save_analysis rustc: reintroduce lifetime bounds where necessary. 2019-06-18 18:10:26 +03:00
librustc_target Rollup merge of #61844 - AaronKutch:master, r=Centril 2019-06-15 17:45:06 +02:00
librustc_traits Rollup merge of #61842 - Zoxc:trim-lift, r=eddyb 2019-06-19 01:52:06 +02:00
librustc_tsan
librustc_typeck Rollup merge of #61968 - eddyb:hir-noclone, r=petrochenkov 2019-06-20 08:36:03 +02:00
librustdoc rustdoc: generate implementors for all auto traits 2019-06-20 17:36:43 +03:00
libserialize rustc: remove 'x: 'y bounds (except from comments/strings). 2019-06-18 18:10:21 +03:00
libstd Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton 2019-06-20 02:36:49 +00:00
libsyntax Rollup merge of #61968 - eddyb:hir-noclone, r=petrochenkov 2019-06-20 08:36:03 +02:00
libsyntax_ext Auto merge of #61172 - matthewjasper:cleanup-implied-bounds-lint, r=varkor 2019-06-19 12:41:38 +00:00
libsyntax_pos hygiene: Avoid some unnecessary ExpnInfo clones 2019-06-18 10:48:56 +03: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@788592fb27 Update LLVM 2019-05-31 00:49:06 +01:00
rtstartup
rustc
rustllvm
stdsimd@4bf456c35e
test rustdoc: generate implementors for all auto traits 2019-06-20 17:36:43 +03:00
tools Auto merge of #61967 - lzutao:clippy-update, r=oli-obk 2019-06-19 19:28:28 +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: