about summary refs log tree commit diff
path: root/tvix/eval/src/errors.rs
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-11-26T00·47-0800
committerclbot <clbot@tvl.fyi>2022-11-28T20·05+0000
commit7606e62a2ffa5db2b47b0a31f5a4642f303eda12 (patch)
tree81f2acaac4618125efccd98b7766e570227bb426 /tvix/eval/src/errors.rs
parentbab6ae136fc12c96a1715bffbe21d4f11ed04702 (diff)
feat(tvix/eval): add CoercionKind::ThunksOnly r/5349
Signed-off-by: Adam Joseph <adam@westernsemico.com>
Change-Id: I92acb7e6099a4796d953b2d4d02cca4076ed0fb1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7426
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/errors.rs')
-rw-r--r--tvix/eval/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/errors.rs b/tvix/eval/src/errors.rs
index ba9d6cb98ba6..107b8b154abd 100644
--- a/tvix/eval/src/errors.rs
+++ b/tvix/eval/src/errors.rs
@@ -293,6 +293,7 @@ to a missing value in the attribute set(s) included via `with`."#,
 
             ErrorKind::NotCoercibleToString { kind, from } => {
                 let kindly = match kind {
+                    CoercionKind::ThunksOnly => "thunksonly",
                     CoercionKind::Strong => "strongly",
                     CoercionKind::Weak => "weakly",
                 };