Closed stanislav-tkach closed 4 years ago
The following code gives the "unexpected type argument" error:
use dynomite::Item; type Result = result::Result<u8, u8>; #[derive(Item)] pub struct S { #[dynomite(partition_key)] s: String, }
I expect this code to compile.
To reproduce try to compile the code above.
10 | #[derive(Item)] | ^^^^ | | | unexpected type argument | unexpected type argument
dynomite version: 0.9.0
0.9.0
rustc version: rustc 1.45.2 (d3fb005a3 2020-07-31)
rustc 1.45.2 (d3fb005a3 2020-07-31)
๐ Bug description
The following code gives the "unexpected type argument" error:
๐ค Expected Behavior
I expect this code to compile.
๐ Steps to reproduce
To reproduce try to compile the code above.
๐ Your environment
dynomite version:
0.9.0
rustc version:
rustc 1.45.2 (d3fb005a3 2020-07-31)