Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test expectations after 1.54 release #52

Merged
merged 1 commit into from Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.