rust/src
Guillaume Gomez 307f2ddfa4
Rollup merge of #88899 - FabianWolff:issue-88844, r=matthewjasper
Do not issue E0071 if a type error has already been reported

Fixes #88844. A suggested fix is already included in the error message for E0412, so with my changes, E0071 is simply not emitted anymore if the type in question is a "type error". This makes sense, I think, because we cannot confidently state that something is "not a struct" if we couldn't resolve it properly; and it's unnecessary to pollute the output with this additional error message, as it is a direct consequence of the former error.

I have also addressed the issue mentioned in https://github.com/rust-lang/rust/issues/88844#issuecomment-917324856 by changing the fixed example in the documentation to more closely match the erroneous code example.
2021-09-17 17:41:16 +02: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 Don't lint about missing code examples in derived traits 2021-09-17 00:39:15 +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 #88899 - FabianWolff:issue-88844, r=matthewjasper 2021-09-17 17:41:16 +02:00
tools Rollup merge of #88883 - c410-f3r:tests, r=petrochenkov 2021-09-17 14:09:48 +09: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.