From 7fb0f3c6c353dab2f87788cbe88fcee8223fa5e9 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Fri, 9 Feb 2024 14:54:40 +0100 Subject: [PATCH] Fix test --- .../tests/fail/incorrect_tag_enum.stderr | 6 ------ packable/packable-derive-test/tests/lib.rs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packable/packable-derive-test/tests/fail/incorrect_tag_enum.stderr b/packable/packable-derive-test/tests/fail/incorrect_tag_enum.stderr index dbe2b67..4deeac4 100644 --- a/packable/packable-derive-test/tests/fail/incorrect_tag_enum.stderr +++ b/packable/packable-derive-test/tests/fail/incorrect_tag_enum.stderr @@ -26,9 +26,3 @@ note: method defined here | fn pack(&self, packer: &mut P) -> Result<(), P::Error>; | ^^^^ = note: this error originates in the derive macro `Packable` (in Nightly builds, run with -Z macro-backtrace for more info) - -error: could not evaluate constant pattern - --> tests/fail/incorrect_tag_enum.rs:14:22 - | -14 | #[packable(tag = 0u32)] - | ^^^^ diff --git a/packable/packable-derive-test/tests/lib.rs b/packable/packable-derive-test/tests/lib.rs index 82c374e..475044d 100644 --- a/packable/packable-derive-test/tests/lib.rs +++ b/packable/packable-derive-test/tests/lib.rs @@ -60,4 +60,4 @@ macro_rules! make_test { #[rustversion::stable] make_test!(); #[rustversion::not(stable)] -make_test!(); +make_test!(incorrect_tag_enum);