Skip to content

Commit

Permalink
Fix test expectations after 1.54 release (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Jul 29, 2021
1 parent bb8a680 commit 603ffbd
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 59 deletions.
Expand Up @@ -7,7 +7,7 @@ error[E0119]: conflicting implementations of trait `std::convert::TryFrom<u8>` f
= note: conflicting implementation in crate `core`:
- impl<T, U> TryFrom<U> for T
where U: Into<T>;
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= 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`
--> $DIR/conflicting_derive.rs:1:35
Expand All @@ -17,4 +17,4 @@ error[E0119]: conflicting implementations of trait `num_enum::TryFromPrimitive`
| |
| first implementation here
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)

This file was deleted.

Expand Up @@ -4,4 +4,4 @@ error: #[derive(FromPrimitive)] requires a variant marked with `#[num_enum(defau
1 | #[derive(num_enum::FromPrimitive)]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `num_enum::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)

This file was deleted.

Expand Up @@ -4,4 +4,4 @@ error: #[derive(FromPrimitive)] requires a variant marked with `#[num_enum(defau
1 | #[derive(num_enum::FromPrimitive)]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `num_enum::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)

This file was deleted.

2 changes: 1 addition & 1 deletion num_enum/tests/try_build/compile_fail/missing_repr.stderr
Expand Up @@ -4,4 +4,4 @@ error: Missing `#[repr({Integer})]` attribute
1 | #[derive(num_enum::IntoPrimitive)]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `num_enum::IntoPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)

This file was deleted.

Expand Up @@ -9,4 +9,4 @@ note: the lint level is defined here
|
1 | #[derive(num_enum::TryFromPrimitive)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `num_enum::TryFromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)

This file was deleted.

0 comments on commit 603ffbd

Please sign in to comment.