rust/src
bors eae47a4048 Auto merge of #54734 - pawroman:fix_range_borrowing_suggestion, r=varkor
Fix range literals borrowing suggestions

Fixes #54505. The compiler issued incorrect range borrowing suggestions (missing `()` around borrows of range literals). This was not correct syntax (see the issue for an example).

With changes in this PR, this is fixed for all types of `Range` literals.

Thanks again to @varkor and @estebank for their invaluable help and guidance.

r? @varkor
2018-10-09 22:36:14 +00:00
..
bootstrap Auto merge of #54638 - christianpoveda:master, r=kennytm 2018-10-04 09:17:47 +00:00
build_helper Rename sanitizer runtime libraries on OSX 2018-09-29 14:29:05 -07:00
ci Fix conditions to allow missing tools in CI 2018-10-01 12:42:20 -05:00
dlmalloc@c99638dc2e
doc Auto merge of #54609 - kzys:404-search, r=GuillaumeGomez 2018-10-08 00:33:19 +00:00
etc
grammar
jemalloc@1f5a28755e
liballoc Auto merge of #54613 - matthiaskrgr:string_from_inline_53681, r=nagisa 2018-10-09 19:57:55 +00:00
liballoc_jemalloc
liballoc_system
libarena
libbacktrace@f4d02bbdbf
libcompiler_builtins@0703bfa725
libcore Auto merge of #54700 - frewsxcv:frewsxcv-binary-search, r=GuillaumeGomez 2018-10-08 03:04:50 +00:00
libfmt_macros remove padding from multiline format string label 2018-10-03 14:29:39 -04:00
libgraphviz Remove graphviz::IntoCow 2018-10-05 14:16:10 +02:00
liblibc@1844a772b6
libpanic_abort wasm: Explicitly export all symbols with LLD 2018-10-02 13:49:51 -07:00
libpanic_unwind
libproc_macro All proc_macro_span APIs tracked at #54725 now 2018-10-01 12:15:35 -07:00
libprofiler_builtins
librustc Auto merge of #54762 - RalfJung:miri-validate, r=oli-obk 2018-10-09 17:19:56 +00:00
librustc_allocator
librustc_apfloat
librustc_asan Rollup merge of #54681 - alexcrichton:san-names, r=kennytm 2018-10-01 16:13:04 +08:00
librustc_borrowck Auto merge of #54847 - ljedrz:kill_graphviz_intocow, r=pnkfelix 2018-10-08 06:50:25 +00:00
librustc_codegen_llvm Auto merge of #54766 - alexcrichton:wasm-all-symbols, r=michaelwoerister 2018-10-06 10:44:11 +00:00
librustc_codegen_utils Attempt to resolve linking issues. 2018-10-02 01:16:08 +02:00
librustc_cratesio_shim
librustc_data_structures Rollup merge of #54656 - nieksand:workqueue_doc, r=varkor 2018-10-01 16:13:02 +08:00
librustc_driver Re-export getopts so custom drivers can reference it. 2018-09-30 10:48:00 -05:00
librustc_errors
librustc_fs_util
librustc_incremental Remove graphviz::IntoCow 2018-10-05 14:16:10 +02:00
librustc_lint add machine option to validate things on every copy 2018-10-09 13:08:00 +02:00
librustc_llvm
librustc_lsan
librustc_metadata Only promote calls to #[rustc_promotable] const fns 2018-10-03 10:07:05 +02:00
librustc_metadata_utils
librustc_mir Auto merge of #54762 - RalfJung:miri-validate, r=oli-obk 2018-10-09 17:19:56 +00:00
librustc_msan
librustc_passes Only promote calls to #[rustc_promotable] const fns 2018-10-03 10:07:05 +02:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy Auto merge of #54601 - cuviper:prep-1.31, r=Mark-Simulacrum 2018-09-30 01:45:50 +00:00
librustc_resolve Reapply the macro_rules disambiguation changes from master 2018-10-05 11:46:12 +04:00
librustc_save_analysis Auto merge of #54601 - cuviper:prep-1.31, r=Mark-Simulacrum 2018-09-30 01:45:50 +00:00
librustc_target Stabilize min_const_fn 2018-10-05 10:36:14 +02:00
librustc_traits Introduce TyKind::UnnormalizedProjection 2018-10-03 17:06:28 +02:00
librustc_tsan Rollup merge of #54681 - alexcrichton:san-names, r=kennytm 2018-10-01 16:13:04 +08:00
librustc_typeck Auto merge of #54734 - pawroman:fix_range_borrowing_suggestion, r=varkor 2018-10-09 22:36:14 +00:00
librustdoc Rollup merge of #54834 - kzys:fix-small-screen, r=GuillaumeGomez 2018-10-05 22:33:18 +02:00
libserialize
libstd Auto merge of #54871 - u32i64:master, r=frewsxcv 2018-10-08 12:17:36 +00:00
libsyntax Auto merge of #54835 - oli-obk:mögen_konstante_funktionen_doch_bitte_endlich_stabil_sein, r=Centril 2018-10-07 13:37:07 +00:00
libsyntax_ext expansion: Remove restriction on use of macro attributes with test/bench 2018-10-05 11:40:40 +04:00
libsyntax_pos Auto merge of #54601 - cuviper:prep-1.31, r=Mark-Simulacrum 2018-09-30 01:45:50 +00:00
libterm
libtest
libunwind
llvm@caddcd9b9d
llvm-emscripten@2717444753
rtstartup
rustc
rustllvm
stdsimd@fe825c9378
test Auto merge of #54734 - pawroman:fix_range_borrowing_suggestion, r=varkor 2018-10-09 22:36:14 +00:00
tools update miri 2018-10-09 13:08:00 +02:00
.gitignore
Cargo.lock Reapply the macro_rules disambiguation changes from master 2018-10-05 11:46:12 +04:00
Cargo.toml
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 guide.

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