rust/src
bors 69b352ef77 Auto merge of #85233 - FabianWolff:issue-85227, r=petrochenkov
Improve error message for non-exhaustive matches on non-exhaustive enums

This pull request fixes #85227. For an enum marked with `#[non_exhaustive]` and not defined in the current crate, the error message for non-exhaustive matches now mentions the fact that the enum is marked as non-exhaustive:
```
error[E0004]: non-exhaustive patterns: `_` not covered
  --> main.rs:12:11
   |
12 |     match e {
   |           ^ pattern `_` not covered
   |
   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
   = note: the matched value is of type `E`, which is marked as non-exhaustive
```
2021-05-14 06:53:45 +00:00
..
bootstrap Auto merge of #85190 - mati865:update-cc, r=Mark-Simulacrum 2021-05-14 04:12:40 +00:00
build_helper
ci update perf version used for PGO 2021-05-10 14:39:28 +02:00
doc Update global_asm! documentation 2021-05-13 22:31:58 +01:00
etc
librustdoc Rollup merge of #85175 - GuillaumeGomez:rustdoc-cleanup, r=jsha 2021-05-13 15:54:11 +02:00
llvm-project@c78cf18a07 Update LLVM submodule 2021-05-08 11:01:09 +02:00
rustdoc-json-types
test Auto merge of #85233 - FabianWolff:issue-85227, r=petrochenkov 2021-05-14 06:53:45 +00:00
tools Auto merge of #83129 - LeSeulArtichaut:thir-unsafeck, r=nikomatsakis 2021-05-13 10:49:29 +00:00
README.md
stage0.txt
version

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.