File: E0004.stderr

package info (click to toggle)
rustc 1.41.1%2Bdfsg1-1~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 997,884 kB
  • sloc: xml: 133,832; ansic: 15,300; sh: 14,409; javascript: 6,505; python: 5,619; cpp: 3,984; makefile: 2,795; asm: 227; ruby: 68; awk: 10
file content (18 lines) | stat: -rw-r--r-- 568 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0004]: non-exhaustive patterns: `HastaLaVistaBaby` not covered
  --> $DIR/E0004.rs:9:11
   |
LL | / enum Terminator {
LL | |     HastaLaVistaBaby,
   | |     ---------------- not covered
LL | |     TalkToMyHand,
LL | | }
   | |_- `Terminator` defined here
...
LL |       match x {
   |             ^ pattern `HastaLaVistaBaby` not covered
   |
   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms

error: aborting due to previous error

For more information about this error, try `rustc --explain E0004`.