rust/src
Mazdak Farrokhzad bcb7dce75c
Rollup merge of #58555 - scottmcm:try-2015, r=Centril
Add a note about 2018e if someone uses `try {` in 2015e

Inspired by https://github.com/rust-lang/rust/issues/58491, where a `try_blocks` example was accidentally run in 2015, which of course produces a bunch of errors.

What's the philosophy about gating for this?  The keyword is stably a keyword in 2018, so I haven't gated it for now but am not mentioning what the keyword _does_.  Let me know if I should do differently.

Resolves #53672
2019-02-22 14:58:02 +01:00
..
bootstrap Rollup merge of #57929 - GuillaumeGomez:rustodc-remove-old-style-files, r=ollie27 2019-02-17 14:52:21 +08:00
build_helper rustc: doc comments 2019-02-10 23:42:32 +00:00
ci Auto merge of #58549 - pietroalbini:fix-docker-ci-hash, r=Mark-Simulacrum 2019-02-18 17:34:14 +00:00
doc Rollup merge of #58544 - TheBiggerGuy:rustc-doc-cli-args, r=TimNN 2019-02-20 11:58:58 +08:00
etc Rollup merge of #58489 - xfix:fix-keyword-tests-runtime-error, r=alexcrichton 2019-02-17 14:52:20 +08:00
grammar
liballoc Rollup merge of #58431 - RalfJung:btree, r=Mark-Simulacrum 2019-02-22 14:58:00 +01:00
libarena libarena => 2018 2019-02-11 23:49:48 +01:00
libcore Auto merge of #58574 - RalfJung:pin, r=Mark-Simulacrum 2019-02-22 04:11:23 +00:00
libfmt_macros
libgraphviz Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichton 2019-02-12 23:30:16 +00:00
libpanic_abort
libpanic_unwind libpanic_unwind => 2018: remove unused extern crate. 2019-02-13 18:09:09 +01:00
libproc_macro Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnik 2019-02-14 02:41:16 +01:00
libprofiler_builtins
librustc partially revert 904a0bde93 2019-02-21 12:50:13 -05:00
librustc_allocator Auto merge of #58098 - oli-obk:maybe_allow_internal_unstable, r=petrochenkov 2019-02-12 12:10:10 +00:00
librustc_apfloat Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
librustc_asan
librustc_borrowck HirId-ify hir::BodyId 2019-02-13 09:54:58 +01:00
librustc_codegen_llvm Rollup merge of #58562 - dlrobertson:fix_nits, r=alexreg 2019-02-20 11:59:13 +08:00
librustc_codegen_ssa Rollup merge of #58074 - scottmcm:stabilize-sort_by_cached_key, r=SimonSapin 2019-02-16 14:11:28 +08:00
librustc_codegen_utils
librustc_cratesio_shim
librustc_data_structures Always emit an error for a query cycle 2019-02-15 03:51:47 +01:00
librustc_driver Fix a transposition in driver.rs. 2019-02-18 17:33:52 -08:00
librustc_errors Rollup merge of #58296 - estebank:hidden-suggestion, r=oli-obk 2019-02-14 02:41:21 +01:00
librustc_fs_util rustc: doc comments 2019-02-10 23:42:32 +00:00
librustc_incremental rustc: doc comments 2019-02-10 23:42:32 +00:00
librustc_lint Fix rebase issue 2019-02-15 23:34:04 +00:00
librustc_llvm
librustc_lsan
librustc_metadata Auto merge of #58503 - varkor:const-generics-hir, r=petrochenkov 2019-02-19 00:46:12 +00:00
librustc_mir Run rustfmt 2019-02-20 12:15:27 -03:00
librustc_msan
librustc_passes Rollup merge of #57981 - Zoxc:fix-57979, r=nikomatsakis 2019-02-16 14:11:20 +08:00
librustc_plugin Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
librustc_privacy HirId-ify hir::BodyId 2019-02-13 09:54:58 +01:00
librustc_resolve Rollup merge of #58555 - scottmcm:try-2015, r=Centril 2019-02-22 14:58:02 +01:00
librustc_save_analysis Reduce the size of hir::Expr. 2019-02-14 11:52:03 +11:00
librustc_target Auto merge of #58406 - Disasm:rv64-support, r=nagisa 2019-02-15 16:20:12 +00:00
librustc_traits HirId-ify hir::BodyId 2019-02-13 09:54:58 +01:00
librustc_tsan
librustc_typeck Auto merge of #57896 - oli-obk:permissive_existence, r=cramertj 2019-02-19 15:30:38 +00:00
librustdoc Rollup merge of #58409 - euclio:impl-trait-wrapping, r=QuietMisdreavus 2019-02-20 11:58:31 +08:00
libserialize Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
libstd Rollup merge of #58059 - RalfJung:before_exec, r=alexcrichton 2019-02-22 14:57:56 +01:00
libsyntax Rollup merge of #58198 - igorsdv:suggest-removing-parentheses-surrounding-lifetimes, r=estebank 2019-02-22 14:57:59 +01:00
libsyntax_ext Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper 2019-02-13 04:37:04 +01:00
libsyntax_pos Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
libterm Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik 2019-02-12 19:09:24 +00:00
libtest Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnik 2019-02-14 02:41:16 +01:00
libunwind
llvm-emscripten@7f23313edf
llvm-project@73a75d35b9 Update LLVM: apply patches for RISC-V 64-bit support 2019-02-12 18:58:06 +03:00
rtstartup
rustc
rustllvm rustc: Implement incremental "fat" LTO 2019-02-12 04:58:31 -08:00
stdsimd@9a60697044 update stdsimd 2019-02-17 11:22:04 +01:00
test Rollup merge of #58555 - scottmcm:try-2015, r=Centril 2019-02-22 14:58:02 +01:00
tools Auto merge of #58584 - ehuss:update-cargo, r=alexcrichton 2019-02-21 17:18:53 +00:00
.gitignore
README.md
stage0.txt Bump the bootstrap compiler 2019-02-17 18:14:32 +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: