rust/src
Ariel Ben-Yehuda de6566ce39 forbid manually impl'ing one of an object type's marker traits
This shouldn't break compatibility for crates that do not use
`feature(optin_builtin_traits)`, because as the test shows, it is
only possible to impl a marker trait for a trait object in the crate the
marker trait is defined in, which must define
`feature(optin_builtin_traits)`.

Fixes #56934
2019-01-13 19:44:28 +02:00
..
bootstrap Rollup merge of #57368 - petrhosek:cmake-compiler-launcher, r=alexcrichton 2019-01-12 10:54:59 +01:00
build_helper Remove licenses 2018-12-25 21:08:33 -07:00
ci ci: Upgrade Travis to Xenial 2019-01-03 12:22:37 -08:00
doc Update the const fn tracking issue to the new metabug 2019-01-13 01:55:44 +00:00
etc lldb_batchmode.py: try import _thread for Python 3 2019-01-08 13:19:50 -08:00
grammar Remove licenses 2018-12-25 21:08:33 -07:00
liballoc Rollup merge of #56425 - scottmcm:redo-vec-set_len-docs, r=Centril 2019-01-12 10:54:51 +01:00
libarena Check the correct arena 2019-01-01 20:06:50 +01:00
libcore Auto merge of #57567 - Centril:stabilize-transpose, r=alexreg 2019-01-13 14:35:40 +00:00
libfmt_macros Point at correct span for arguments in format strings 2018-12-26 20:36:02 -08:00
libgraphviz Remove licenses 2018-12-25 21:08:33 -07:00
libpanic_abort Bound sgx target_env with fortanix as target_vendor 2018-12-31 16:32:56 -08:00
libpanic_unwind Remove licenses 2018-12-25 21:08:33 -07:00
libproc_macro Work-around for shadowing of variant names with assoc const names in libproc_macro/bridge/rpc.rs. 2018-12-26 21:40:21 +00:00
libprofiler_builtins Remove licenses 2018-12-25 21:08:33 -07:00
librustc Auto merge of #57567 - Centril:stabilize-transpose, r=alexreg 2019-01-13 14:35:40 +00:00
librustc_allocator Remove licenses 2018-12-25 21:08:33 -07:00
librustc_apfloat Fix repeated word typos 2019-01-03 21:33:37 +01:00
librustc_asan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_borrowck Update link to rustc guide 2018-12-28 13:34:00 -05:00
librustc_codegen_llvm Use ptr::eq where applicable 2019-01-12 16:18:55 +01:00
librustc_codegen_ssa Auto merge of #57145 - RalfJung:panic-if-uninhabited, r=alexcrichton 2019-01-05 14:58:57 +00:00
librustc_codegen_utils Remove licenses 2018-12-25 21:08:33 -07:00
librustc_cratesio_shim Remove licenses 2018-12-25 21:08:33 -07:00
librustc_data_structures Auto merge of #56614 - Zoxc:query-perf2, r=michaelwoerister 2019-01-09 11:08:14 +00:00
librustc_driver Auto merge of #56614 - Zoxc:query-perf2, r=michaelwoerister 2019-01-09 11:08:14 +00:00
librustc_errors Replace LockCell with atomic types 2018-12-29 12:46:37 +01:00
librustc_fs_util Remove licenses 2018-12-25 21:08:33 -07:00
librustc_incremental Clean up and optimize OpenTask / read_index 2018-12-31 16:24:22 +01:00
librustc_lint check missing docs for reexported macros as well 2019-01-06 18:55:55 +01:00
librustc_llvm Rollup merge of #57369 - petrhosek:llvm-libcxx, r=alexcrichton 2019-01-07 16:25:38 +01:00
librustc_lsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_metadata Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
librustc_mir Auto merge of #57568 - Centril:rollup, r=Centril 2019-01-13 11:54:02 +00:00
librustc_msan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_passes Consolidate equality constraints error message 2019-01-08 23:53:43 +00:00
librustc_platform_intrinsics Remove licenses 2018-12-25 21:08:33 -07:00
librustc_plugin Remove licenses 2018-12-25 21:08:33 -07:00
librustc_privacy Address review comments 2019-01-06 03:31:43 +03:00
librustc_resolve Rollup merge of #57560 - petrochenkov:selfinmac, r=alexreg 2019-01-13 05:27:00 +01:00
librustc_save_analysis Rollup merge of #57474 - emilio:save-analysis-path, r=nrc 2019-01-13 05:26:53 +01:00
librustc_target Remove licenses 2018-12-25 21:08:33 -07:00
librustc_traits Auto merge of #56837 - arielb1:nonprincipal-trait-objects, r=nikomatsakis 2019-01-05 03:36:31 +00:00
librustc_tsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_typeck forbid manually impl'ing one of an object type's marker traits 2019-01-13 19:44:28 +02:00
librustdoc Rollup merge of #57508 - DebugSteven:inline-extern, r=GuillaumeGomez 2019-01-13 05:26:57 +01:00
libserialize Remove licenses 2018-12-25 21:08:33 -07:00
libstd Rollup merge of #57473 - alexcrichton:hex-display-on-windows, r=Kimundi 2019-01-13 05:26:52 +01:00
libsyntax Rollup merge of #57564 - varkor:update-const_fn-tracking-issue, r=Centril 2019-01-13 05:27:01 +01:00
libsyntax_ext don't unwrap unexpected tokens in format! 2019-01-11 13:00:44 -05:00
libsyntax_pos Remove licenses 2018-12-25 21:08:33 -07:00
libterm Remove licenses 2018-12-25 21:08:33 -07:00
libtest Bound sgx target_env with fortanix as target_vendor 2018-12-31 16:32:56 -08:00
libunwind Remove licenses 2018-12-25 21:08:33 -07:00
llvm@f4728ed8fa Update LLVM submodule 2018-12-18 15:26:10 +05:30
llvm-emscripten@7f23313edf
rtstartup Remove licenses 2018-12-25 21:08:33 -07:00
rustc rustc: Fix regression where jemalloc isn't used 2019-01-03 13:52:36 -08:00
rustllvm Remove licenses 2018-12-25 21:08:33 -07:00
stdsimd@269d0ba959 Update stdsimd submodule 2019-01-08 20:24:15 +01:00
test forbid manually impl'ing one of an object type's marker traits 2019-01-13 19:44:28 +02:00
tools Update the const fn tracking issue to the new metabug 2019-01-13 01:55:44 +00:00
.gitignore
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
stage0.txt Bump stage0 2019-01-04 07:30:20 -08: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: