rust/src
bors a21bd75688 Auto merge of #57899 - davidtwco:issue-56685, r=estebank
Unused variable suggestions apply on all patterns.

Fixes #56685.

This PR extends existing suggestions to prefix unused variable bindings in match arms with an underscore so that it applies to all patterns in a match arm.

r? @estebank
cc @alexcrichton (since you filed the issue)
2019-01-28 09:52:31 +00:00
..
bootstrap Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichton 2019-01-27 18:18:17 +00:00
build_helper Workaround presence of LLVM library in stage0/lib 2019-01-26 08:02:08 -07:00
ci Rebase to the llvm-project monorepo 2019-01-25 15:39:54 -08:00
doc Change crate-visibility-modifier issue number in The Unstable Book 2019-01-26 15:50:05 +09:00
etc
grammar
liballoc Replace deprecated ATOMIC_INIT consts 2019-01-26 15:27:38 -07:00
libarena
libcore Auto merge of #56932 - clarcharr:iter_refactor, r=Centril 2019-01-27 20:50:17 +00:00
libfmt_macros Rollup merge of #57764 - Xanewok:tiny-tweaks, r=nikomatsakis 2019-01-26 18:21:44 +01:00
libgraphviz
libpanic_abort Bump bootstrap compiler to 1.33 beta 2019-01-26 08:02:08 -07:00
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
librustc_allocator
librustc_apfloat
librustc_asan Workaround presence of LLVM library in stage0/lib 2019-01-26 08:02:08 -07:00
librustc_borrowck remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
librustc_codegen_llvm Auto merge of #55641 - nagisa:optimize-attr, r=pnkfelix 2019-01-26 07:08:18 +00:00
librustc_codegen_ssa ConstValue::ScalarPair only needs to represent slices 2019-01-27 21:41:35 +01:00
librustc_codegen_utils
librustc_cratesio_shim
librustc_data_structures
librustc_driver Conditionally skip two passes if their related attributes were not found 2019-01-28 05:46:53 +01:00
librustc_errors remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
librustc_fs_util
librustc_incremental
librustc_lint remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
librustc_llvm Workaround presence of LLVM library in stage0/lib 2019-01-26 08:02:08 -07:00
librustc_lsan Workaround presence of LLVM library in stage0/lib 2019-01-26 08:02:08 -07:00
librustc_metadata
librustc_mir Auto merge of #57442 - oli-obk:lazy_const, r=RalfJung 2019-01-28 00:46:07 +00:00
librustc_msan Workaround presence of LLVM library in stage0/lib 2019-01-26 08:02:08 -07:00
librustc_passes Conditionally skip two passes if their related attributes were not found 2019-01-28 05:46:53 +01:00
librustc_plugin
librustc_privacy
librustc_resolve remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
librustc_save_analysis
librustc_target Auto merge of #57925 - fintelia:riscv-cas, r=nagisa 2019-01-27 03:57:54 +00:00
librustc_traits
librustc_tsan Workaround presence of LLVM library in stage0/lib 2019-01-26 08:02:08 -07:00
librustc_typeck remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
librustdoc remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
libserialize
libstd Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichton 2019-01-27 18:18:17 +00:00
libsyntax remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
libsyntax_ext Conditionally skip two passes if their related attributes were not found 2019-01-28 05:46:53 +01:00
libsyntax_pos
libterm
libtest Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichton 2019-01-27 18:18:17 +00:00
libunwind Bump bootstrap compiler to 1.33 beta 2019-01-26 08:02:08 -07:00
llvm-emscripten@7f23313edf
llvm-project@683d352269 [rust-lldb] Adapt to changes in LLDB APIs 2019-01-25 15:39:54 -08:00
rtstartup
rustc
rustllvm Auto merge of #55641 - nagisa:optimize-attr, r=pnkfelix 2019-01-26 07:08:18 +00:00
stdsimd@269d0ba959
test Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
tools Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichton 2019-01-27 18:18:17 +00:00
.gitignore
README.md
stage0.txt Bump bootstrap compiler to 1.33 beta 2019-01-26 08:02:08 -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: