rust/src
Mazdak Farrokhzad 6b951c2950
Rollup merge of #62663 - llogiq:more-questionmark-docs, r=GuillaumeGomez
More questionmarks in doctests

This removes the other `unwrap`s in the macro doctests, replacing them with `?`. For now, we need to specify the main function including the return type, we can get rid of that once the return type suggestion for `fn main() { .. }` works correctly.

r? @QuietMisdreavus
2019-08-02 12:14:14 +02:00
..
bootstrap Auto merge of #62766 - alexcrichton:stabilize-pipelined-compilation, r=oli-obk 2019-07-30 08:39:29 +00:00
build_helper Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
ci Rollup merge of #63191 - pietroalbini:really-fix-toolstate, r=alexcrichton 2019-08-01 16:00:34 +02:00
doc Auto merge of #62766 - alexcrichton:stabilize-pipelined-compilation, r=oli-obk 2019-07-30 08:39:29 +00:00
etc Check for lldb existences 2019-07-14 04:19:39 +00:00
grammar
liballoc Rollup merge of #63095 - Centril:incomplete-features-lint, r=varkor 2019-07-30 22:43:34 +02:00
libarena Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
libcore Rollup merge of #62663 - llogiq:more-questionmark-docs, r=GuillaumeGomez 2019-08-02 12:14:14 +02:00
libfmt_macros rustc: Compile the fmt_macros crate as an rlib 2019-07-29 08:15:08 -07:00
libgraphviz Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
libpanic_abort Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
libpanic_unwind Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +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 Rollup merge of #62293 - Centril:remove-await-macro, r=cramertj 2019-07-30 22:43:31 +02: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 Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
librustc_codegen_llvm Rollup merge of #62809 - alexcrichton:wasm-llvm-9, r=nikic 2019-07-29 02:10:52 +02:00
librustc_codegen_ssa Auto merge of #62766 - alexcrichton:stabilize-pipelined-compilation, r=oli-obk 2019-07-30 08:39:29 +00:00
librustc_codegen_utils Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
librustc_data_structures Remove derives Encodable/Decodable and unstabilize attribute #[bench] 2019-07-31 21:27:59 +03:00
librustc_driver Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
librustc_errors Auto merge of #63090 - Centril:rollup-xnjwm2h, r=Centril 2019-07-28 20:22:42 +00: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 Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
librustc_interface Auto merge of #62766 - alexcrichton:stabilize-pipelined-compilation, r=oli-obk 2019-07-30 08:39:29 +00:00
librustc_lexer Add comment 2019-07-27 22:10:09 +09:00
librustc_lint Turn INCOMPLETE_FEATURES into a lint. 2019-07-30 10:32:43 +02: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 Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
librustc_metadata Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
librustc_mir Rollup merge of #63076 - RalfJung:miri-fn-ptr-alloc-size, r=oli-obk 2019-07-29 02:10:55 +02: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 Auto merge of #63090 - Centril:rollup-xnjwm2h, r=Centril 2019-07-28 20:22:42 +00: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 Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
librustc_resolve Rollup merge of #63083 - matthewjasper:parameter-hygiene, r=petrochenkov 2019-07-30 05:37:34 +02:00
librustc_save_analysis Auto merge of #62766 - alexcrichton:stabilize-pipelined-compilation, r=oli-obk 2019-07-30 08:39:29 +00:00
librustc_target Rollup merge of #62809 - alexcrichton:wasm-llvm-9, r=nikic 2019-07-29 02:10:52 +02:00
librustc_traits Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03: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 #63093 - Aaron1011:fix/existential-closure, r=cramertj 2019-07-30 05:37:37 +02:00
librustdoc Rollup merge of #62971 - GuillaumeGomez:keyword-sidebar, r=nobody 2019-08-01 16:00:25 +02:00
libserialize Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
libstd Auto merge of #63194 - pietroalbini:rollup-xgnvb1b, r=pietroalbini 2019-08-01 14:43:00 +00:00
libsyntax Rollup merge of #63170 - matklad:cleanup-fields, r=petrochenkov 2019-08-01 16:00:29 +02:00
libsyntax_ext Remove derives Encodable/Decodable and unstabilize attribute #[bench] 2019-07-31 21:27:59 +03:00
libsyntax_pos Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
libterm Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
libtest Remove derives Encodable/Decodable and unstabilize attribute #[bench] 2019-07-31 21:27:59 +03:00
libunwind Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
llvm-emscripten@7f23313edf
llvm-project@9b64ca5b7e std: Use native #[thread_local] TLS on wasm 2019-07-25 11:17:07 -07: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 Auto merge of #63194 - pietroalbini:rollup-xgnvb1b, r=pietroalbini 2019-08-01 14:43:00 +00:00
tools Update cargo, rls 2019-07-31 17:44:39 -07:00
.gitignore
README.md
stage0.txt Update stage0.txt 2019-07-23 11:07:06 -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 the following READMEs, which are gradually being moved over to the guide: