Skip to content

Commit

Permalink
Fix tests since 1.67.0 was released (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Jan 26, 2023
1 parent ee6184d commit 476ef4b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 63 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0119]: conflicting implementations of trait `std::default::Default` for type `Number`
error[E0119]: conflicting implementations of trait `Default` for type `Number`
--> tests/try_build/compile_fail/conflicting_default.rs:1:19
|
1 | #[derive(Default, num_enum::Default)]
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0119]: conflicting implementations of trait `num_enum::TryFromPrimitive` for type `Numbers`
--> $DIR/conflicting_derive.rs:1:35
error[E0119]: conflicting implementations of trait `TryFromPrimitive` for type `Numbers`
--> tests/try_build/compile_fail/conflicting_derive.rs:1:35
|
1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)]
| ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Numbers`
Expand All @@ -8,8 +8,8 @@ error[E0119]: conflicting implementations of trait `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)

error[E0119]: conflicting implementations of trait `std::convert::TryFrom<u8>` for type `Numbers`
--> $DIR/conflicting_derive.rs:1:35
error[E0119]: conflicting implementations of trait `TryFrom<u8>` for type `Numbers`
--> tests/try_build/compile_fail/conflicting_derive.rs:1:35
|
1 | #[derive(num_enum::FromPrimitive, num_enum::TryFromPrimitive)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 476ef4b

Please sign in to comment.