message: [generate format] upgrade to serde-reflection 0.3.1 for better error reporting
  Closes:
  Approved by: metajack
diff: @@ -43,11 +43,17 @@ impl Corpus {
  /// Compute the registry of formats.
  pub fn get_registry(self) -> Registry {
  - match self {
  - Corpus::Libra => libra::get_registry().unwrap(),
  - Corpus::Consensus => consensus::get_registry().unwrap(),
  - Corpus::Network => network::get_registry().unwrap(),
  - Corpus::MoveABI => move_abi::get_registry().unwrap(),
  + let result = match self {
  + Corpus::Libra => libra::get_registry(),
  + Corpus::Consensus => consensus::get_registry(),
  + Corpus::Network => network::get_registry(),
  + Corpus::MoveABI => move_abi::get_registry(),
  + };
  + match result {
  + Ok(registry) => registry,
  + Err(error) => {
  + panic!("{}:{}", error, error.explanation());
  + }
  }
  }
  