rust/src
Mazdak Farrokhzad 64130fd2c4
Rollup merge of #63674 - petrochenkov:meta2, r=Centril
syntax: Support modern attribute syntax in the `meta` matcher

Where "modern" means https://github.com/rust-lang/rust/pull/57367:
```
PATH
PATH `(` TOKEN_STREAM `)`
PATH `[` TOKEN_STREAM `]`
PATH `{` TOKEN_STREAM `}`
```

Unfortunately, `meta` wasn't future-proofed using the `FOLLOW` token set like other matchers (https://github.com/rust-lang/rust/issues/34011), so code like `$meta:meta {` or `$meta:meta [` may break, and we need a crater run to find out how often this happens in practice.

Closes https://github.com/rust-lang/rust/issues/49629 (by fully supporting `meta` rather than removing it.)
2019-10-01 09:55:26 +02:00
..
bootstrap Switch version to 1.40 2019-09-25 08:20:32 -04:00
build_helper
ci Use https for curl when building for linux 2019-09-29 13:33:12 -07:00
doc Delete iter-order-by.md 2019-09-23 11:57:07 +10:00
etc ignore-x86 instead of ignore-musl 2019-09-22 11:33:13 -07:00
grammar
liballoc Rollup merge of #64893 - SimonSapin:vec-of-option-box, r=sfackler 2019-09-30 14:38:27 -07:00
libarena
libcore Rollup merge of #64923 - lzutao:improve-doc-needs_drop, r=jonas-schievink 2019-09-30 14:38:32 -07:00
libfmt_macros flatten rustc_lexer::character_properties module 2019-09-04 15:13:29 +03:00
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
libprofiler_builtins
librustc syntax: Split ast::Attribute into container and inner parts 2019-09-30 22:36:25 +03:00
librustc_apfloat
librustc_asan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_codegen_llvm remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_codegen_ssa remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_codegen_utils Switch over all StableHash impls to new format 2019-09-28 11:47:36 -04:00
librustc_data_structures remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_driver Rollup merge of #64799 - Aaron1011:fix/double-panic, r=Mark-Simulacrum 2019-09-29 04:36:01 +02:00
librustc_errors Rollup merge of #64721 - hman523:issue64447, r=estebank 2019-09-24 23:45:31 +02:00
librustc_fs_util
librustc_incremental Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_index remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_interface Auto merge of #64158 - tmandry:libtest-panic-abort, r=alexcrichton 2019-09-29 13:53:08 +00:00
librustc_lexer fill metadata in rustc_lexer's Cargo.toml 2019-09-05 23:03:50 +03:00
librustc_lint remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_llvm fix a few typos in comments 2019-09-04 23:25:51 +08:00
librustc_lsan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_macros Switch over all StableHash impls to new format 2019-09-28 11:47:36 -04:00
librustc_metadata remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_mir Rollup merge of #64828 - ecstatic-morse:generic-dataflow-graphviz, r=oli-obk 2019-09-30 14:38:22 -07:00
librustc_msan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_passes Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
librustc_plugin Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_privacy Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
librustc_resolve Rollup merge of #64691 - estebank:unexpected-variant, r=Centril 2019-09-29 20:34:12 +02:00
librustc_save_analysis Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
librustc_target remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
librustc_traits Remove lift_to_global 2019-09-27 13:33:50 -04:00
librustc_tsan Fix build script sanitizer check. 2019-09-13 20:59:46 -07:00
librustc_typeck Auto merge of #64778 - csmoe:index, r=eddyb 2019-09-30 13:33:15 +00:00
librustdoc Auto merge of #64778 - csmoe:index, r=eddyb 2019-09-30 13:33:15 +00:00
libserialize Tweak libserialize allows 2019-09-23 09:34:44 -07:00
libstd Slice docs: fix typo 2019-09-28 21:02:51 +02:00
libsyntax Rollup merge of #63674 - petrochenkov:meta2, r=Centril 2019-10-01 09:55:26 +02:00
libsyntax_ext syntax: Support modern attribute syntax in the meta matcher 2019-09-30 22:58:22 +03:00
libsyntax_pos remove indexed_vec re-export from rustc_data_structures 2019-09-29 16:48:31 +00:00
libterm
libtest Spawn one subprocess per unit test when panic=abort 2019-09-28 13:52:18 -07:00
libunwind
llvm-emscripten@7f23313edf
llvm-project@8adf9bdccf Update to LLVM 9.0.0 2019-09-20 09:36:03 -07:00
rtstartup
rustc
rustllvm
stdarch@e0ab2c165a Move --cfg bootstrap out of rustc.rs 2019-09-23 09:34:44 -07:00
test Rollup merge of #63674 - petrochenkov:meta2, r=Centril 2019-10-01 09:55:26 +02:00
tools Auto merge of #64881 - RalfJung:miri, r=RalfJung 2019-09-30 02:09:43 +00:00
README.md
stage0.txt Switch version to 1.40 2019-09-25 08:20:32 -04: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 this README: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/lexical_region_resolve.