about summary refs log tree commit diff
path: root/tvix/eval/src/value
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r--tvix/eval/src/value/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs
index 3db6a00e4df6..1210e0f9a7e9 100644
--- a/tvix/eval/src/value/mod.rs
+++ b/tvix/eval/src/value/mod.rs
@@ -33,7 +33,7 @@ pub enum Value {
     // Internal values that, while they technically exist at runtime,
     // are never returned to or created directly by users.
     AttrPath(Vec<NixString>),
-    NotFound,
+    AttrNotFound,
 }
 
 impl Value {
@@ -54,7 +54,7 @@ impl Value {
             Value::Closure(_) | Value::Builtin(_) => "lambda",
 
             // Internal types
-            Value::AttrPath(_) | Value::NotFound => "internal",
+            Value::AttrPath(_) | Value::AttrNotFound => "internal",
         }
     }
 
@@ -140,7 +140,7 @@ impl Display for Value {
 
             // internal types
             Value::AttrPath(path) => write!(f, "internal[attrpath({})]", path.len()),
-            Value::NotFound => f.write_str("internal[not found]"),
+            Value::AttrNotFound => f.write_str("internal[not found]"),
         }
     }
 }