rust/src
Yuki Okushi 441046af97
Rollup merge of #89055 - Kobzol:wrapped-method-expr-call-parens, r=wesleywiser
Suggest better place to add call parentheses for method expressions wrapped in parentheses

I wanted to improve the suggestion a bit to both remove the wrapping parentheses **and** add call parentheses by both calling `suggest_method_call` and using `multipart_suggestion`. But I very quickly ran into a problem where multiple overlapping machine applicable suggestions cannot be properly applied together. So I applied the suggestion from the issue and only added the call parentheses directly after the expression.

Fixes: https://github.com/rust-lang/rust/issues/89044
2021-09-19 17:31:35 +09:00
..
bootstrap Rollup merge of #88666 - GuillaumeGomez:compiler-docs, r=Mark-Simulacrum 2021-09-17 17:41:15 +02:00
build_helper rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
ci Disable both reproducible-build tests for crate-type=bin 2021-09-15 13:37:22 -04:00
doc Rollup merge of #88985 - Commeownist:patch-1, r=Amanieu 2021-09-16 10:57:23 -07:00
etc set the executable bit on pre-commit.sh 2021-08-11 15:06:33 -04:00
librustdoc Add rustdoc version into the help popup 2021-09-17 17:32:57 +02:00
llvm-project@86c7daa627 Update LLVM submodule 2021-09-11 00:15:38 +02:00
rustdoc-json-types rustdoc: Clean up handling of lifetime bounds 2021-09-02 14:27:59 -07:00
test Rollup merge of #89055 - Kobzol:wrapped-method-expr-call-parens, r=wesleywiser 2021-09-19 17:31:35 +09:00
tools Update cargo 2021-09-18 13:58:26 -07:00
README.md
stage0.json Bump stage0 compiler to 1.56 2021-09-08 20:51:05 -04: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.