rust/src
Mazdak Farrokhzad 4f0a791d5d
Rollup merge of #70532 - RalfJung:miri-assign, r=eddyb
Miri engine: stronger type-based sanity check for assignments

r? @oli-obk @eddyb
Fixes https://github.com/rust-lang/rust/issues/70405

That issue says
> be sure to also add appropriate mutability checks to the patterns (mutable for the source, immutable for the dest)

I decided not to do that because I see no good reason to do it. The engine does not care either way, the assignment will happen correctly.
2020-04-03 03:26:49 +02:00
..
bootstrap Ensure LLVM is in the link path for "fulldeps" tests 2020-03-30 15:40:56 -07:00
build_helper
ci Rollup merge of #68334 - andre-richter:master, r=japaric 2020-04-03 03:26:45 +02:00
doc Add missing markdown rust annotation 2020-04-02 08:34:57 +07:00
etc Auto merge of #70282 - ssomers:btreemap_gdb_pretty_print, r=Mark-Simulacrum 2020-03-27 09:54:02 +00:00
liballoc Auto merge of #70362 - TimDiekmann:alloc-overhaul, r=Amanieu 2020-04-02 06:08:35 +00:00
libarena
libcore Rollup merge of #70708 - Pocakking:fix-ascii-case-conv-typo, r=sfackler 2020-04-03 00:32:07 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
librustc_ast_lowering 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_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 Rollup merge of #70487 - Mark-Simulacrum:float-unchecked-casts, r=SimonSapin 2020-04-03 00:32:00 +02: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 use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
librustc_error_codes Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC 2020-04-01 22:25:22 +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 Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02: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
librustc_infer use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
librustc_interface use direct import for ErrorReported 2020-04-02 13:40:43 +02: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
librustc_macros Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_metadata Rollup merge of #70634 - Centril:import-directly, r=Mark-Simulacrum 2020-04-02 14:27:58 +02:00
librustc_middle Rollup merge of #70658 - davidtwco:issue-70285-still-further-specializable, r=eddyb 2020-04-02 14:28:00 +02:00
librustc_mir Rollup merge of #70532 - RalfJung:miri-assign, r=eddyb 2020-04-03 03:26:49 +02:00
librustc_mir_build direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
librustc_parse Rollup merge of #70421 - Centril:recover-const-async-fn-ptr, r=estebank 2020-04-02 14:27:54 +02:00
librustc_passes direct imports for langitem stuff 2020-04-02 13:40:43 +02: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 Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwco 2020-04-01 14:32:12 +02:00
librustc_span rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02: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 Rollup merge of #70616 - anyska:fieldplacement-rename, r=oli-obk 2020-04-01 22:25:18 +02:00
librustc_trait_selection Rollup merge of #70658 - davidtwco:issue-70285-still-further-specializable, r=eddyb 2020-04-02 14:28:00 +02:00
librustc_traits rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_ty Rollup merge of #70658 - davidtwco:issue-70285-still-further-specializable, r=eddyb 2020-04-02 14:28:00 +02:00
librustc_typeck Rollup merge of #70716 - matthewjasper:infer-const-type-regions, r=eddyb 2020-04-03 00:32:09 +02:00
librustdoc direct imports for langitem stuff 2020-04-02 13:40:43 +02:00
libserialize
libstd Rollup merge of #70694 - lzutao:self, r=Centril 2020-04-03 00:32:04 +02:00
libterm
libtest
libunwind
llvm-project@992e608cfc Update LLVM submodule 2020-03-29 11:12:55 +01:00
rtstartup
rustc
rustllvm
stdarch@abe96ca3b8
test Rollup merge of #70716 - matthewjasper:infer-const-type-regions, r=eddyb 2020-04-03 00:32:09 +02:00
tools Rollup merge of #70224 - GuillaumeGomez:clean-up-rustdoc-js-testers, r=Dylan-DPC 2020-04-03 03:26:47 +02:00
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 dev guide.