rust/src
Mazdak Farrokhzad 3388028776
Rollup merge of #61086 - RalfJung:box, r=alexcrichton
Box::into_unique: do the reborrow-to-raw *after* destroying the Box

Currently we first "reborrow" the box to a raw pointer, and then `forget` it. When tracking raw pointers more strictly (something I am experimenting with locally in Miri), the "use" induced by passing the box to `forget` invalidates the previously created raw pointer.

So adjust my hack from https://github.com/rust-lang/rust/pull/58429 to reorder the two operations.
2019-05-24 01:30:24 +02:00
..
bootstrap Bump compiler-builtins to 0.1.15 2019-05-22 07:46:36 -07:00
build_helper Bump compiler-builtins to 0.1.15 2019-05-22 07:46:36 -07:00
ci Rollup merge of #61055 - bgermann:master, r=sanxiyn 2019-05-23 08:37:17 +02:00
doc
etc
grammar
liballoc Rollup merge of #61086 - RalfJung:box, r=alexcrichton 2019-05-24 01:30:24 +02:00
libarena Optimize alloc_from_iter 2019-05-23 18:51:46 +02:00
libcore Rollup merge of #61057 - sfackler:revert-next-back, r=alexcrichton 2019-05-23 08:37:18 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins Bump compiler-builtins to 0.1.15 2019-05-22 07:46:36 -07:00
librustc Update crate_variances and inferred_outlives_crate 2019-05-23 18:51:52 +02:00
librustc_allocator Restore the old behavior of the rustdoc keyword check + Fix rebase 2019-05-22 20:20:12 +03:00
librustc_apfloat
librustc_asan
librustc_borrowck Update borrowck 2019-05-23 18:51:42 +02:00
librustc_codegen_llvm Update wasm_import_module_map and target_features_whitelist 2019-05-23 18:51:50 +02:00
librustc_codegen_ssa Update dylib_dependency_formats, extern_crate and reachable_non_generics 2019-05-23 18:51:52 +02:00
librustc_codegen_utils Remove impls for InternedString/string equality. 2019-05-21 20:08:33 +10:00
librustc_cratesio_shim
librustc_data_structures update doc comment 2019-05-21 17:14:09 +02:00
librustc_driver
librustc_errors Rollup merge of #61073 - phansch:remove_unused_annotation_style, r=matthewjasper 2019-05-23 08:37:19 +02:00
librustc_fs_util
librustc_incremental
librustc_interface Rollup merge of #61014 - jsgf:emit-artifact-type, r=alexcrichton 2019-05-23 08:37:12 +02:00
librustc_lint Auto merge of #60740 - petrochenkov:kw, r=nnethercote 2019-05-23 01:50:55 +00:00
librustc_llvm
librustc_lsan
librustc_macros Simplify use of keyword symbols 2019-05-22 19:48:56 +03:00
librustc_metadata Update dylib_dependency_formats, extern_crate and reachable_non_generics 2019-05-23 18:51:52 +02:00
librustc_mir Auto merge of #60174 - matthewjasper:add-match-arm-scopes, r=pnkfelix 2019-05-23 04:48:21 +00:00
librustc_msan
librustc_passes Auto merge of #60174 - matthewjasper:add-match-arm-scopes, r=pnkfelix 2019-05-23 04:48:21 +00:00
librustc_plugin Restore the old behavior of the rustdoc keyword check + Fix rebase 2019-05-22 20:20:12 +03:00
librustc_privacy Update privacy_access_levels 2019-05-23 18:51:49 +02:00
librustc_resolve Restore the old behavior of the rustdoc keyword check + Fix rebase 2019-05-22 20:20:12 +03:00
librustc_save_analysis Update dylib_dependency_formats, extern_crate and reachable_non_generics 2019-05-23 18:51:52 +02:00
librustc_target
librustc_traits
librustc_tsan
librustc_typeck Rollup merge of #61054 - estebank:mut-ref-reassign, r=zackmdavis 2019-05-24 01:30:20 +02:00
librustdoc Update GenericPredicates queries 2019-05-23 18:51:46 +02:00
libserialize
libstd Rollup merge of #61057 - sfackler:revert-next-back, r=alexcrichton 2019-05-23 08:37:18 +02:00
libsyntax Rollup merge of #61056 - euclio:custom-discriminant-error, r=estebank 2019-05-24 01:30:21 +02:00
libsyntax_ext syntax: Some code cleanup 2019-05-23 12:46:41 +03:00
libsyntax_pos syntax: Some code cleanup 2019-05-23 12:46:41 +03:00
libterm
libtest
libunwind
llvm-emscripten@7f23313edf
llvm-project@4efebe3165 Bump compiler-builtins to 0.1.15 2019-05-22 07:46:36 -07:00
rtstartup
rustc
rustllvm
stdsimd@4bf456c35e
test Rollup merge of #61056 - euclio:custom-discriminant-error, r=estebank 2019-05-24 01:30:21 +02:00
tools Update clippy submodule 2019-05-22 13:12:37 +02:00
.gitignore
README.md
stage0.txt

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: