rust/src
Dylan DPC c185c4fe47
Rollup merge of #70776 - RalfJung:raw-vec, r=Dylan-DPC,TimDiekmann
clarify comment in RawVec::into_box

On first reading I almost thought "len <= cap" would be all that there is to check here. Expand the comment to clarify that that is not the case.
2020-04-05 13:13:13 +02:00
..
bootstrap Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok 2020-04-04 18:17:14 +00:00
build_helper
ci Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok 2020-04-04 18:17:14 +00:00
doc Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok 2020-04-04 18:17:14 +00:00
etc tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
liballoc Rollup merge of #70776 - RalfJung:raw-vec, r=Dylan-DPC,TimDiekmann 2020-04-05 13:13:13 +02:00
libarena separate out an arena for HIR 2020-03-21 22:18:57 +01:00
libcore Rollup merge of #70760 - PonasKovas:docs, r=Dylan-DPC 2020-04-05 13:13:10 +02:00
libfmt_macros fix various typos 2020-03-06 15:19:31 +01:00
libgraphviz
libpanic_abort Simplify the try intrinsic by using a callback in the catch block 2020-03-05 17:36:50 +00:00
libpanic_unwind remove unused imports 2020-03-19 07:53:32 +01:00
libproc_macro introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
libprofiler_builtins Remove -ffreestanding from libprofiler_builtins because we do need the standard library 2020-03-18 15:55:26 -04:00
librustc_apfloat
librustc_ast rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_ast_lowering Hide task_context when lowering body 2020-04-01 00:41:40 +02:00
librustc_ast_passes Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_ast_pretty Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_attr rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
librustc_builtin_macros Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_codegen_llvm Auto merge of #69718 - arlosi:debughash, r=eddyb 2020-04-04 03:00:47 +00:00
librustc_codegen_ssa direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_data_structures rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_driver comment refers to removed type 2020-04-04 20:30:09 +02:00
librustc_error_codes Rollup merge of #70735 - GuillaumeGomez:cleanup-e0502, r=Dylan-DPC 2020-04-03 22:55:14 +02:00
librustc_errors Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_expand macro_rules: NtLifetime cannot start with an identifier 2020-04-04 16:23:43 +03:00
librustc_feature #[link]: mention wasm_import_module instead of cfg 2020-03-29 17:40:04 +02:00
librustc_fs_util
librustc_hir rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
librustc_hir_pretty Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_incremental rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_index Add requisite feature gates for const assert 2020-03-17 11:15:40 -07:00
librustc_infer Rollup merge of #70641 - estebank:dedup-code, r=nikomatsakis 2020-04-03 22:55:08 +02:00
librustc_interface Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
librustc_lexer Handle unterminated raw strings with no #s properly 2020-04-02 01:02:55 -04:00
librustc_lint nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
librustc_llvm rustc_llvm: don't use -g when LLVM_NDEBUG is set. 2020-03-23 02:36:36 +02:00
librustc_macros Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_metadata Update the description of link_cfg unstable 2020-04-04 01:43:16 +08:00
librustc_middle Rollup merge of #70748 - ogoffart:enum-layout-optim2, r=eddyb 2020-04-05 06:44:44 +02:00
librustc_mir Miri: remove an outdated FIXME 2020-04-04 15:55:32 +02:00
librustc_mir_build direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_parse .unwrap() less on .span_to_snippet() 2020-04-03 03:17:40 +02:00
librustc_passes Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
librustc_plugin_impl rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_privacy Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_query_system rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_resolve Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_save_analysis more clippy fixes 2020-03-31 15:20:05 +02:00
librustc_session Auto merge of #69718 - arlosi:debughash, r=eddyb 2020-04-04 03:00:47 +00:00
librustc_span Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
librustc_symbol_mangling Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
librustc_target rustc_target: Rely on default value of no_default_libraries more 2020-04-04 15:43:02 +03:00
librustc_trait_selection Rollup merge of #70641 - estebank:dedup-code, r=nikomatsakis 2020-04-03 22:55:08 +02:00
librustc_traits Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
librustc_ty Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
librustc_typeck typeck/type_of: only early-bound and (free) late-bound lifetimes are parameters. 2020-04-04 08:29:06 +03:00
librustdoc Rollup merge of #70706 - gizmondo:check-theme, r=GuillaumeGomez 2020-04-03 13:31:24 +02:00
libserialize Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
libstd Auto merge of #70136 - hermitcore:network_tcp, r=dtolnay 2020-04-04 06:04:32 +00:00
libterm
libtest Rename asm! to llvm_asm! 2020-03-26 15:49:22 +00:00
libunwind Link to libgcc dynamically on windows-gnu when using dylib crates 2020-03-05 17:36:50 +00:00
llvm-project@130721d6f4 Fix #69841 by updating LLVM submodule. Includes regression test for issue 69841. 2020-03-30 14:10:39 -04:00
rtstartup Fix MinGW termination callbacks not being invoked 2020-03-05 17:36:50 +00:00
rustc
rustllvm Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
stdarch@abe96ca3b8 Update stdarch submodule 2020-03-19 14:38:09 +00:00
test Rollup merge of #70768 - petrochenkov:macambig, r=Centril,mark-i-m 2020-04-05 06:44:48 +02:00
tools rustc-workspace-hack: Account for upgraded crossbeam-utils 0.7 2020-04-05 00:45:50 +02:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
stage0.txt Bump the bootstrap compiler 2020-03-15 19:43:25 +01: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 dev guide.