rust/src
Mazdak Farrokhzad 74b8cd4957
Rollup merge of #57783 - davidtwco:issue-57741, r=estebank
Add "dereference boxed value" suggestion.

Contributes to #57741.

This PR adds a `help: consider dereferencing the boxed value` suggestion to discriminants of match statements when the match arms have type `T` and the discriminant has type `Box<T>`.

r? @estebank
2019-01-21 02:21:57 +01:00
..
bootstrap Auto merge of #57704 - lenoil98:patch-2, r=alexcrichton 2019-01-20 21:49:24 +00:00
build_helper Remove licenses 2018-12-25 21:08:33 -07:00
ci Revert "Auto merge of #57670 - rust-lang:beta-next, r=Mark-Simulacrum" 2019-01-17 10:48:10 +01:00
doc Rollup merge of #57212 - phansch:improve_rustc_book_contributing, r=steveklabnik 2019-01-18 22:56:37 +01:00
etc rustc: Remove platform intrinsics crate 2019-01-14 09:54:23 -08:00
grammar Remove licenses 2018-12-25 21:08:33 -07:00
liballoc Rollup merge of #57456 - fintelia:patch-4, r=dtolnay 2019-01-15 12:42:07 +01:00
libarena Check the correct arena 2019-01-01 20:06:50 +01:00
libcore Rollup merge of #56796 - KrishnaSannasi:try_from_impl_change, r=shepmaster 2019-01-21 02:21:53 +01: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 Stabilize cfg_target_vendor, #29718 2019-01-14 14:33:04 +05:30
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 Rollup merge of #57783 - davidtwco:issue-57741, r=estebank 2019-01-21 02:21:57 +01: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 Remove an unused function argument 2019-01-15 17:11:07 +01:00
librustc_codegen_llvm Rollup merge of #57573 - Xanewok:querify-entry-fn, r=Zoxc 2019-01-19 09:03:27 +01:00
librustc_codegen_ssa Rollup merge of #57573 - Xanewok:querify-entry-fn, r=Zoxc 2019-01-19 09:03:27 +01:00
librustc_codegen_utils Querify entry_fn 2019-01-15 11:10:51 +01:00
librustc_cratesio_shim Remove licenses 2018-12-25 21:08:33 -07:00
librustc_data_structures Optimize try_mark_green and eliminate the lock on dep node colors 2019-01-15 10:39:49 +01:00
librustc_driver Rollup merge of #57598 - h-michael:unpretty-help, r=oli-obk 2019-01-19 14:21:19 +01:00
librustc_errors Rollup merge of #57699 - euclio:applicability-ify, r=petrochenkov 2019-01-19 14:21:23 +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 Rollup merge of #57689 - nnethercote:redo-hir-Stmt, r=petrochenkov 2019-01-19 19:41:21 +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 Rollup merge of #57502 - nikomatsakis:fix-trait-alias-1b, r=nikomatsakis 2019-01-19 14:21:18 +01:00
librustc_mir Auto merge of #57651 - JohnTitor:give-char-type, r=estebank 2019-01-20 08:26:12 +00:00
librustc_msan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_passes Remove hir::StmtKind::Decl. 2019-01-17 12:13:22 +11:00
librustc_plugin Auto merge of #57321 - petrochenkov:atokens, r=nikomatsakis 2019-01-16 15:01:20 +00:00
librustc_privacy Rollup merge of #57649 - petrochenkov:privexist, r=arielb1 2019-01-19 14:21:21 +01:00
librustc_resolve Rollup merge of #57699 - euclio:applicability-ify, r=petrochenkov 2019-01-19 14:21:23 +01:00
librustc_save_analysis Querify glob map usage (last use of CrateAnalysis) 2019-01-17 10:40:22 +01:00
librustc_target Add a target option "merge-functions" taking values in ("disabled", 2019-01-05 09:59:25 -08:00
librustc_traits integrate trait aliases into def-paths / metadata 2019-01-10 17:04:19 -05:00
librustc_tsan Remove licenses 2018-12-25 21:08:33 -07:00
librustc_typeck Rollup merge of #57769 - estebank:cast-suggestion-struct-field, r=matthewjasper 2019-01-21 02:21:56 +01:00
librustdoc Auto merge of #56884 - euclio:codeblock-diagnostics, r=QuietMisdreavus 2019-01-20 19:01:38 +00:00
libserialize Cosmetic improvements 2019-01-13 19:47:02 +00:00
libstd Auto merge of #57655 - mtak-:fix-tls-dtors-macos, r=alexcrichton 2019-01-20 11:08:37 +00:00
libsyntax Rollup merge of #57768 - estebank:type-args-sugg, r=zackmdavis 2019-01-21 02:21:55 +01:00
libsyntax_ext Auto merge of #57651 - JohnTitor:give-char-type, r=estebank 2019-01-20 08:26:12 +00:00
libsyntax_pos remove extern_in_paths. 2019-01-13 14:18:00 +01:00
libterm Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
libtest Stabilize cfg_target_vendor, #29718 2019-01-14 14:33:04 +05:30
libunwind Stabilize cfg_target_vendor, #29718 2019-01-14 14:33:04 +05:30
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 Rollup merge of #57783 - davidtwco:issue-57741, r=estebank 2019-01-21 02:21:57 +01:00
tools Auto merge of #57721 - ehuss:update-cargo, r=alexcrichton 2019-01-19 18:37:03 +00:00
.gitignore
README.md
stage0.txt Revert "Auto merge of #57670 - rust-lang:beta-next, r=Mark-Simulacrum" 2019-01-17 10:48:10 +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 guide.

There is also useful content in the following READMEs, which are gradually being moved over to the guide: