Skip to content

Commit

Permalink
Bump virtue to 0.0.9 and add test for #537 (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevyn authored Oct 8, 2022
1 parent 6c219e9 commit 61bbfbb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ description = "Implementation of #[derive(Encode, Decode)] for bincode"
proc-macro = true

[dependencies]
virtue = "0.0.8"
virtue = "0.0.9"
3 changes: 3 additions & 0 deletions tests/issues.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ mod issue_500;
#[path = "issues/issue_523.rs"]
mod issue_523;

#[path = "issues/issue_537.rs"]
mod issue_537;

#[path = "issues/issue_547.rs"]
mod issue_547;

Expand Down
8 changes: 8 additions & 0 deletions tests/issues/issue_537.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#![cfg(all(feature = "derive", feature = "std"))]

use bincode::{Decode, Encode};

#[derive(Encode, Decode)]
struct Foo<Bar = ()> {
x: Bar,
}

0 comments on commit 61bbfbb

Please sign in to comment.