Use track_caller for panicking methods

This commit is contained in:
Kornel
2023-04-13 17:56:27 +01:00
parent ef4ae94799
commit b6bf62db14
2 changed files with 4 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ impl<'a> ValueRef<'a> {
impl From<ValueRef<'_>> for Value {
#[inline]
#[track_caller]
fn from(borrowed: ValueRef<'_>) -> Value {
match borrowed {
ValueRef::Null => Value::Null,