diff --git a/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr b/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr index 55a0a23..4189539 100644 --- a/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr +++ b/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr @@ -1,20 +1,20 @@ -error[E0119]: conflicting implementations of trait `std::convert::TryFrom` for type `Numbers` +error[E0119]: conflicting implementations of trait `num_enum::TryFromPrimitive` for type `Numbers` --> $DIR/conflicting_derive.rs:1:35 | 1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Numbers` + | | + | first implementation here | - = note: conflicting implementation in crate `core`: - - impl TryFrom for T - where U: Into; = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0119]: conflicting implementations of trait `num_enum::TryFromPrimitive` for type `Numbers` +error[E0119]: conflicting implementations of trait `std::convert::TryFrom` for type `Numbers` --> $DIR/conflicting_derive.rs:1:35 | 1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)] - | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Numbers` - | | - | first implementation here + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | + = note: conflicting implementation in crate `core`: + - impl TryFrom for T + where U: Into; = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr_beta b/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr_beta deleted file mode 100644 index 4189539..0000000 --- a/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr_beta +++ /dev/null @@ -1,20 +0,0 @@ -error[E0119]: conflicting implementations of trait `num_enum::TryFromPrimitive` for type `Numbers` - --> $DIR/conflicting_derive.rs:1:35 - | -1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)] - | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Numbers` - | | - | first implementation here - | - = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) - -error[E0119]: conflicting implementations of trait `std::convert::TryFrom` for type `Numbers` - --> $DIR/conflicting_derive.rs:1:35 - | -1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: conflicting implementation in crate `core`: - - impl TryFrom for T - where U: Into; - = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr_nightly b/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr_nightly deleted file mode 100644 index 4189539..0000000 --- a/num_enum/tests/try_build/compile_fail/conflicting_derive.stderr_nightly +++ /dev/null @@ -1,20 +0,0 @@ -error[E0119]: conflicting implementations of trait `num_enum::TryFromPrimitive` for type `Numbers` - --> $DIR/conflicting_derive.rs:1:35 - | -1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)] - | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Numbers` - | | - | first implementation here - | - = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) - -error[E0119]: conflicting implementations of trait `std::convert::TryFrom` for type `Numbers` - --> $DIR/conflicting_derive.rs:1:35 - | -1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: conflicting implementation in crate `core`: - - impl TryFrom for T - where U: Into; - = note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)