improve errors location (#23)

Signed-off-by: eric-therond <eric.therond.fr@gmail.com>
This commit is contained in:
eric-therond
2023-09-27 18:41:30 +02:00
committed by GitHub
parent b7420aceba
commit 2ba718ba72
4 changed files with 33 additions and 18 deletions

View File

@@ -304,7 +304,7 @@ impl Value {
Self::make_or_get_value_mut(self, paths)
}
Value::Undefined => Ok(self),
_ => bail!("make: not an selfect {self:?}"),
_ => bail!("internal error: make: not an selfect {self:?}"),
}
}
}