diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-23T08·26+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-01T21·40+0000 |
commit | 3ed40b4eeafb6c37ab1cc0550e591c4113efd252 (patch) | |
tree | 210ad798708633d0d82456269db15cec8cfe9339 /tvix/eval/src/warnings.rs | |
parent | f7305eed47dea538611d0ae4c3545b646bce3727 (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.rs | 1 |
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)] |