// This test verifies that #[FromField] referencing a non-existent field
// produces a clear compile-time error.
usebebytes::BeBytes;#[cfg(not(feature ="std"))]externcrate alloc;#[derive(BeBytes, Debug, PartialEq)]structFromFieldNonexistent{length:u16,
// Error: 'missing_field' doesn't exist
#[FromField(missing_field)]data:Vec<u8>,
}fnmain(){}