rust/src
bors 4bb5d35659 Auto merge of #56392 - petrochenkov:regensym, r=oli-obk
Delay gensym creation for "underscore items" (`use foo as _`/`const _`) until name resolution

So they cannot be cloned by macros. See https://github.com/rust-lang/rust/pull/56303 for the discussion.

Mostly fix cross-crate use of underscore items by inverting the "gensyms are lost in metadata" bug as described in https://github.com/rust-lang/rust/pull/56303#issuecomment-442464695.
Fix unused import warnings for single-segment imports (first commit) and `use crate_name as _` imports (as specified in https://github.com/rust-lang/rust/pull/56303#issuecomment-442274118).
Prohibit accidentally implemented `static _: TYPE = EXPR;` (cc https://github.com/rust-lang/rust/pull/55983).
Add more tests for `use foo as _` imports.
2018-12-06 15:08:11 +00:00
..
bootstrap Rollup merge of #56441 - ollie27:rustbuild_compiler_docs, r=alexcrichton 2018-12-06 07:48:55 +01:00
build_helper
ci ci: Only run compare-mode tests on one builder 2018-11-30 14:31:04 -08:00
dlmalloc@c99638dc2e
doc build the edition guide 2018-12-04 17:06:16 -05:00
etc Rollup merge of #56144 - tromey:Bug-55771-btreemap, r=alexcrichton 2018-11-25 17:05:04 +01:00
grammar syntax: Rename some keywords 2018-12-04 00:30:27 +03:00
liballoc Rollup merge of #56548 - Lucretiel:string-extend-optimize, r=sfackler 2018-12-06 07:49:01 +01:00
libarena Auto merge of #56378 - ljedrz:arena_tweaks, r=nagisa 2018-12-02 11:14:14 +00:00
libbacktrace@f4d02bbdbf
libcompiler_builtins@fe74674f6e Upgrade to LLVM trunk 2018-11-25 20:27:18 -08:00
libcore Auto merge of #56557 - pietroalbini:rollup, r=pietroalbini 2018-12-06 12:41:30 +00:00
libfmt_macros
libgraphviz
liblibc@c75ca6465a
libpanic_abort wasm32-unknown-emscripten expects the rust_eh_personality symbol 2018-11-08 03:27:45 +01:00
libpanic_unwind refactor: use shorthand fields 2018-11-06 15:05:44 -05:00
libproc_macro Statically link proc_macro into proc macros. 2018-11-30 06:15:20 +02:00
libprofiler_builtins
librustc Auto merge of #56557 - pietroalbini:rollup, r=pietroalbini 2018-12-06 12:41:30 +00:00
librustc_allocator
librustc_apfloat Fix typos. 2018-11-11 20:52:36 +07:00
librustc_asan std: Delete the alloc_system crate 2018-11-11 09:22:28 -08:00
librustc_borrowck Refer to the second borrow as the "second borrow". 2018-11-30 14:55:51 +01:00
librustc_codegen_llvm Auto merge of #55871 - ljedrz:llvm_back_allocations, r=nagisa 2018-12-04 11:47:07 +00:00
librustc_codegen_ssa Rollup merge of #56500 - ljedrz:cleanup_rest_of_const_lifetimes, r=zackmdavis 2018-12-06 07:48:57 +01:00
librustc_codegen_utils cleanup: remove static lifetimes from consts 2018-12-04 12:46:10 +01:00
librustc_cratesio_shim Statically link proc_macro into proc macros. 2018-11-30 06:15:20 +02:00
librustc_data_structures Auto merge of #55635 - oli-obk:min_const_unsafe_fn, r=nikomatsakis 2018-12-06 10:18:17 +00:00
librustc_driver Rollup merge of #56553 - wesleywiser:silence_profiler_output, r=Mark-Simulacrum 2018-12-06 07:49:02 +01:00
librustc_errors adds DocTest filename variant, refactors doctest_offset out of source_map, fixes remaining test failures 2018-12-04 19:52:42 -05:00
librustc_fs_util Rename conversion util; remove duplicate util in librustc_codegen_llvm. 2018-11-29 08:09:28 -05:00
librustc_incremental Rollup merge of #56500 - ljedrz:cleanup_rest_of_const_lifetimes, r=zackmdavis 2018-12-06 07:48:57 +01:00
librustc_lint Rollup merge of #56528 - sinkuu:unused_dep, r=Mark-Simulacrum 2018-12-06 07:49:00 +01:00
librustc_llvm
librustc_lsan std: Delete the alloc_system crate 2018-11-11 09:22:28 -08:00
librustc_metadata cleanup: remove static lifetimes from consts 2018-12-04 12:46:10 +01:00
librustc_mir Auto merge of #56557 - pietroalbini:rollup, r=pietroalbini 2018-12-06 12:41:30 +00:00
librustc_msan std: Delete the alloc_system crate 2018-11-11 09:22:28 -08:00
librustc_passes Auto merge of #55959 - matthewjasper:remove-end-region, r=nikomatsakis 2018-11-25 03:00:30 +00:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy Fix panic with outlives in existential type 2018-11-30 02:04:10 +00:00
librustc_resolve Auto merge of #56392 - petrochenkov:regensym, r=oli-obk 2018-12-06 15:08:11 +00:00
librustc_save_analysis save-analysis: fallback to using path id 2018-11-19 17:18:36 +13:00
librustc_target cleanup: remove static lifetimes from consts 2018-12-04 12:46:10 +01:00
librustc_traits Implement AggregateOps 2018-11-29 21:57:40 +01:00
librustc_tsan std: Delete the alloc_system crate 2018-11-11 09:22:28 -08:00
librustc_typeck Rollup merge of #56426 - petrochenkov:syntweak, r=nikomatsakis 2018-12-06 07:48:53 +01:00
librustdoc Rollup merge of #56426 - petrochenkov:syntweak, r=nikomatsakis 2018-12-06 07:48:53 +01:00
libserialize serialize: preallocate VecDeque in Decodable::decode 2018-11-21 10:07:33 +01:00
libstd Rollup merge of #56525 - udoprog:linux-current-exe, r=alexcrichton 2018-12-06 07:48:58 +01:00
libsyntax Auto merge of #56392 - petrochenkov:regensym, r=oli-obk 2018-12-06 15:08:11 +00:00
libsyntax_ext Rollup merge of #56500 - ljedrz:cleanup_rest_of_const_lifetimes, r=zackmdavis 2018-12-06 07:48:57 +01:00
libsyntax_pos Auto merge of #56392 - petrochenkov:regensym, r=oli-obk 2018-12-06 15:08:11 +00:00
libterm
libtest proc_macro: move to a dependency of libtest. 2018-11-30 06:15:20 +02:00
libunwind
llvm@a784eca10d Update LLVM 2018-11-28 16:13:40 +01:00
llvm-emscripten@7f23313edf Pull in fix for dist-i686-linux build 2018-11-09 16:59:45 +01:00
rtstartup
rustc explicitly control compiler_builts/c feature from libstd 2018-12-02 13:27:12 +01:00
rustllvm Auto merge of #55010 - tromey:Bug-9224-generic-parameters, r=michaelwoerister 2018-12-03 11:59:11 +00:00
stdsimd@0309be1ade Update stdsimd 2018-11-02 14:58:53 +01:00
test Auto merge of #56392 - petrochenkov:regensym, r=oli-obk 2018-12-06 15:08:11 +00:00
tools Auto merge of #56557 - pietroalbini:rollup, r=pietroalbini 2018-12-06 12:41:30 +00:00
.gitignore
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
stage0.txt Bump nightly to 1.32.0 2018-10-31 11:53:50 -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: