rust/src
bors c9db3e0fbc Auto merge of #87489 - bdalrhm:rustdoc-line-num, r=CraftSpider
`rustdoc`: compute correct line number for indented rust code blocks.

This PR fixes a bug in `rustdoc` where it computes the wrong line number for indented rust code blocks (and subsequent blocks) it finds in markdown strings. To fix this issue, we decrement the line number if we find characters between the code block and the preceding line ending. I noticed this issue as I was trying to use `rustdoc` to extract examples from The Rust Reference and run them through the [Rust Model Checker](https://github.com/model-checking/rmc).
2021-09-08 12:55:15 +00:00
..
bootstrap Auto merge of #88362 - pietroalbini:bump-stage0, r=Mark-Simulacrum 2021-09-06 16:01:17 +00:00
build_helper rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
ci Bump sccache used in CI to v0.2.15 2021-08-25 16:26:45 -04:00
doc Update cargo, books 2021-09-01 09:27:57 -07:00
etc set the executable bit on pre-commit.sh 2021-08-11 15:06:33 -04:00
librustdoc Auto merge of #87489 - bdalrhm:rustdoc-line-num, r=CraftSpider 2021-09-08 12:55:15 +00:00
llvm-project@ec995b75d7 Update LLVM submodule 2021-09-02 22:39:43 +02:00
rustdoc-json-types rustdoc: Clean up handling of lifetime bounds 2021-09-02 14:27:59 -07:00
test Auto merge of #86943 - ptrojahn:suggest_derive, r=estebank 2021-09-08 07:27:41 +00:00
tools Bump RLS submodule 2021-09-07 11:16:31 -04:00
README.md
stage0.json pin the stage0 hashes in src/stage0.json 2021-08-26 15:29:30 +02:00
version Bump version to 1.57 2021-09-03 21:54:48 -04: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.