rust/src
Mara Bos 7a1bd805fa
Rollup merge of #78678 - Nemo157:doc-cfg-w-traits, r=jyn514,GuillaumeGomez
Add tests and improve rendering of cfgs on traits

Shows the additional features required to get the trait implementation, suppressing any already shown on the current page. One interesting effect from this is if you have a cfg-ed type, implementing a cfg-ed trait (so the implementation depends on both cfgs), you will get the inverted pair of cfgs shown on each page:

![image](https://user-images.githubusercontent.com/81079/97904671-207bdc00-1d41-11eb-8144-707e8017d2b6.png)

![image](https://user-images.githubusercontent.com/81079/97904700-27a2ea00-1d41-11eb-8b9f-e925ba339044.png)

The hidden items on the trait implementation also now get the correct cfgs displayed on them.

Tests are blocked on #78673.

fixes #68100
cc #43781
2020-11-16 17:26:25 +01:00
..
bootstrap Auto merge of #79074 - Mark-Simulacrum:fix-ci-llvm, r=jyn514 2020-11-16 00:40:04 +00:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci explicitly add llvm-9-dev in dockerfile 2020-11-12 14:39:47 +01:00
doc Update books 2020-11-11 19:35:50 -08:00
etc lldb_batchmode: show more error information 2020-11-03 12:01:46 +01:00
librustdoc Rollup merge of #78678 - Nemo157:doc-cfg-w-traits, r=jyn514,GuillaumeGomez 2020-11-16 17:26:25 +01:00
llvm-project@ee16174578 Bump LLVM for DeadArgElim fix 2020-10-22 18:37:03 -04:00
test Rollup merge of #78678 - Nemo157:doc-cfg-w-traits, r=jyn514,GuillaumeGomez 2020-11-16 17:26:25 +01:00
tools Auto merge of #79064 - ehuss:rustbook-logs, r=Mark-Simulacrum 2020-11-15 15:39:58 +00:00
README.md
stage0.txt Rollup merge of #77877 - scottmcm:fewer-try-trait-method-references, r=shepmaster 2020-10-19 18:20:20 +02:00
version bump version to 1.50.0 2020-11-13 09:47:16 +01:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.