File: exhaustive_enum.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 (7 lines) | stat: -rw-r--r-- 387 bytes parent folder | download
1
2
3
4
5
6
7
error: #[derive(FromPrimitive)] requires a variant marked with `#[default]`, `#[num_enum(default)]`, or `#[num_enum(catch_all)`
 --> $DIR/exhaustive_enum.rs:1:10
  |
1 | #[derive(num_enum::FromPrimitive)]
  |          ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the derive macro `num_enum::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)