message: Move parameter count assertion above format encoding derivation
diff: @@ -157,11 +157,6 @@ where
  I::IntoIter: ExactSizeIterator,
  {
  let param_types = statement.params();
  - let (param_formats, params): (Vec<_>, Vec<_>) = params
  - .into_iter()
  - .zip(param_types.iter())
  - .map(|(p, ty)| (p.borrow_to_sql().encode_format(ty) as i16, p))
  - .unzip();
  let params = params.into_iter();
  assert!(
  @@ -171,6 +166,13 @@ where
  params.len()
  );
  + let (param_formats, params): (Vec<_>, Vec<_>) = params
  + .zip(param_types.iter())
  + .map(|(p, ty)| (p.borrow_to_sql().encode_format(ty) as i16, p))
  + .unzip();
  +
  + let params = params.into_iter();
  +
  let mut error_idx = 0;
  let r = frontend::bind(
  portal,
  