about summary refs log tree commit diff
path: root/tvix/eval/src/warnings.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-23T08·26+0300
committertazjin <tazjin@tvl.su>2022-09-01T21·40+0000
commit3ed40b4eeafb6c37ab1cc0550e591c4113efd252 (patch)
tree210ad798708633d0d82456269db15cec8cfe9339 /tvix/eval/src/warnings.rs
parentf7305eed47dea538611d0ae4c3545b646bce3727 (diff)
feat(tvix/eval): emit warnings for unused local bindings r/4573
Change-Id: I6e876a8f4d062297abae812b14ed8ec17a502f2c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6237
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/warnings.rs')
-rw-r--r--tvix/eval/src/warnings.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/warnings.rs b/tvix/eval/src/warnings.rs
index 558a833662e9..20aa9677466e 100644
--- a/tvix/eval/src/warnings.rs
+++ b/tvix/eval/src/warnings.rs
@@ -5,6 +5,7 @@
 pub enum WarningKind {
     DeprecatedLiteralURL,
     UselessInherit,
+    UnusedBinding,
 }
 
 #[derive(Debug)]