File: unreachable_patterns.stderr

package info (click to toggle)
rust-num-enum 0.5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 348 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
error: unreachable pattern
 --> $DIR/unreachable_patterns.rs:7:5
  |
7 |     Two = 2,
  |     ^^^
  |
note: the lint level is defined here
 --> $DIR/unreachable_patterns.rs:1:10
  |
1 | #[derive(num_enum::TryFromPrimitive)]
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)