File: conflicting_default.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 (9 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
error[E0119]: conflicting implementations of trait `std::default::Default` for type `Number`
 --> tests/try_build/nightly/compile_fail/conflicting_default.rs:3:19
  |
3 | #[derive(Default, num_enum::Default)]
  |          -------  ^^^^^^^^^^^^^^^^^ conflicting implementation for `Number`
  |          |
  |          first implementation here
  |
  = note: this error originates in the derive macro `num_enum::Default` (in Nightly builds, run with -Z macro-backtrace for more info)