diff options
Diffstat (limited to 'tvix/eval/src/warnings.rs')
-rw-r--r-- | tvix/eval/src/warnings.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tvix/eval/src/warnings.rs b/tvix/eval/src/warnings.rs new file mode 100644 index 0000000000..4406d05106 --- /dev/null +++ b/tvix/eval/src/warnings.rs @@ -0,0 +1,11 @@ +/// Warnings are emitted in cases where code passed to Tvix exhibits +/// problems that the user could address. + +#[derive(Debug)] +pub enum WarningKind {} + +#[derive(Debug)] +pub struct EvalWarning { + pub node: rnix::SyntaxNode, + pub kind: WarningKind, +} |