about summary refs log tree commit diff
path: root/tvix/eval/src/warnings.rs
/// Warnings are emitted in cases where code passed to Tvix exhibits
/// problems that the user could address.

#[derive(Debug)]
pub enum WarningKind {
    DeprecatedLiteralURL,
}

#[derive(Debug)]
pub struct EvalWarning {
    pub node: rnix::SyntaxNode,
    pub kind: WarningKind,
}