about summary refs log blame commit diff
path: root/tvix/eval/src/warnings.rs
blob: 44e47793c5ddabb7afdaf2e02eca578b84f85289 (plain) (tree)
1
2
3
4
5
6
7



                                                                    


                         





                               
/// 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,
}