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-12T14·13+0300
committertazjin <tazjin@tvl.su>2022-08-26T17·19+0000
commit598c197422481ed31c605d4dc3b7a7e3f043aa85 (patch)
tree0d3788487ab49d18b59887413c52602f941a45b8 /tvix/eval/src/warnings.rs
parent7e77972d71967c65e5446e55673869ef2a8d27bb (diff)
feat(tvix/eval): add warning for deprecated URL literals r/4508
Change-Id: I8a9cfcb5d99680344ee0e3461a4a52526b846c92
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6175
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/warnings.rs')
-rw-r--r--tvix/eval/src/warnings.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/eval/src/warnings.rs b/tvix/eval/src/warnings.rs
index 4406d0510651..44e47793c5dd 100644
--- a/tvix/eval/src/warnings.rs
+++ b/tvix/eval/src/warnings.rs
@@ -2,7 +2,9 @@
 /// problems that the user could address.
 
 #[derive(Debug)]
-pub enum WarningKind {}
+pub enum WarningKind {
+    DeprecatedLiteralURL,
+}
 
 #[derive(Debug)]
 pub struct EvalWarning {