rust/src
bors 347654324d Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov
Improve Rustdoc's handling of procedural macros

Fixes #58700
Fixes #58696
Fixes #49553
Fixes #52210

This commit removes the special rustdoc handling for proc macros, as we can now
retrieve their span and attributes just like any other item.

A new command-line option is added to rustdoc: `--crate-type`. This takes the same options as rustc's `--crate-type` option. However, all values other than `proc-macro` are treated the same. This allows Rustdoc to enable 'proc macro mode' when handling a proc macro crate.

In compiletest, a new 'rustdoc-flags' option is added. This allows us to
pass in the '--proc-macro-crate' flag in the absence of Cargo.

I've opened [an additional PR to Cargo](https://github.com/rust-lang/cargo/pull/7159) to support passing in this flag.
These two PRS can be merged in any order - the Cargo changes will not
take effect until the 'cargo' submodule is updated in this repository.
2019-08-29 01:22:11 +00:00
..
bootstrap
build_helper
ci
doc
etc
grammar
liballoc
libarena
libcore Rollup merge of #63845 - DevQps:47091-remove-bad-example, r=nikomatsakis 2019-08-26 23:55:47 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro proc_macro: Turn quote into a regular built-in macro 2019-08-27 00:37:13 +03:00
libprofiler_builtins
librustc Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov 2019-08-29 01:22:11 +00:00
librustc_apfloat
librustc_asan
librustc_ast_borrowck Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_codegen_llvm debuginfo: give unique names to closure and generator types 2019-08-25 13:12:24 +10:00
librustc_codegen_ssa Auto merge of #63875 - philipc:issue-57822, r=michaelwoerister 2019-08-28 17:49:37 +00:00
librustc_codegen_utils
librustc_data_structures
librustc_driver
librustc_errors
librustc_fs_util
librustc_incremental
librustc_interface Allow running rustdoc on proc-macro crates without specifying '--crate-type proc-macro' 2019-08-28 18:00:36 -04:00
librustc_lexer
librustc_lint
librustc_llvm
librustc_lsan
librustc_macros
librustc_metadata Auto merge of #63127 - kper:pr, r=nikomatsakis 2019-08-28 03:42:00 +00:00
librustc_mir Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_msan
librustc_passes Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_plugin
librustc_privacy
librustc_resolve metadata: Eliminate FullProcMacro 2019-08-27 01:34:07 +03:00
librustc_save_analysis Cleanup: Consistently use Param instead of Arg #62426 2019-08-27 14:07:41 +02:00
librustc_target
librustc_traits
librustc_tsan
librustc_typeck Auto merge of #63127 - kper:pr, r=nikomatsakis 2019-08-28 03:42:00 +00:00
librustdoc Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov 2019-08-29 01:22:11 +00:00
libserialize
libstd Rollup merge of #63698 - Phosphorus15:master, r=nagisa 2019-08-27 08:17:49 +02:00
libsyntax Auto merge of #63127 - kper:pr, r=nikomatsakis 2019-08-28 03:42:00 +00:00
libsyntax_ext Auto merge of #63127 - kper:pr, r=nikomatsakis 2019-08-28 03:42:00 +00:00
libsyntax_pos Add default serialization for Idents 2019-08-27 23:02:22 +01:00
libterm
libtest Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg 2019-08-27 08:17:48 +02:00
libunwind
llvm-emscripten@7f23313edf
llvm-project@48818e9f5d
rtstartup
rustc
rustllvm
stdarch@4791ba85e7
test Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov 2019-08-29 01:22:11 +00:00
tools Auto merge of #63960 - ehuss:update-cargo, r=alexcrichton 2019-08-27 23:57:05 +00:00
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.

There is also useful content in this README: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/lexical_region_resolve.