Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Feb 9, 2024
1 parent b3fa501 commit 7fb0f3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,3 @@ note: method defined here
| fn pack<P: Packer>(&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)]
| ^^^^
2 changes: 1 addition & 1 deletion packable/packable-derive-test/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ macro_rules! make_test {
#[rustversion::stable]
make_test!();
#[rustversion::not(stable)]
make_test!();
make_test!(incorrect_tag_enum);

0 comments on commit 7fb0f3c

Please sign in to comment.