feat(tvix/eval): emit warnings for unused local bindings

Change-Id: I6e876a8f4d062297abae812b14ed8ec17a502f2c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6237
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
Vincent Ambo 2022-08-23 11:26:00 +03:00 committed by tazjin
parent f7305eed47
commit 3ed40b4eea
2 changed files with 50 additions and 20 deletions

View file

@ -5,6 +5,7 @@
pub enum WarningKind {
DeprecatedLiteralURL,
UselessInherit,
UnusedBinding,
}
#[derive(Debug)]