message: simplify re-exports
diff: @@ -126,8 +126,7 @@ impl UnitBuilder {
  }
  for (from, to) in self.reexports {
  - match self.functions.get(&to) {
  - Some(info) => {
  + if let Some(info) = self.functions.get(&to) {
  let info = *info;
  if self.functions.insert(from, info).is_some() {
  return Err(CompileError::new(
  @@ -137,11 +136,8 @@ impl UnitBuilder {
  }
  continue;
  }
  - None => {}
  - };
  - match self.constants.get(&to) {
  - Some(value) => {
  + if let Some(value) = self.constants.get(&to) {
  let const_value = value.clone();
  if self.constants.insert(from, const_value).is_some() {
  return Err(CompileError::new(
  @@ -154,8 +150,7 @@ impl UnitBuilder {
  }
  continue;
  }
  - None => {}
  - };
  +
  return Err(CompileError::new(
  span,
  CompileErrorKind::MissingFunctionHash { hash: to },
  