use nom_derive::Nom;
#[derive(Debug, PartialEq, Nom)]
struct S1 {
pub a: u8,
#[nom(Debug)]
pub b: u64,
}
#[derive(Debug, PartialEq, Nom)]
#[nom(Debug)]
struct S2 {
pub a: u8,
pub b: u64,
}
#[test]
fn test_struct_dbg() {
let input = b"\x12\x34";
let res = S1::parse(input).unwrap_err();
assert!(res.is_incomplete());
}