blob: 558a833662e974ca96a665c1cd79f8f4a8bf46a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//! Implements warnings that are emitted in cases where code passed to
//! Tvix exhibits problems that the user could address.
#[derive(Debug)]
pub enum WarningKind {
DeprecatedLiteralURL,
UselessInherit,
}
#[derive(Debug)]
pub struct EvalWarning {
pub node: rnix::SyntaxNode,
pub kind: WarningKind,
}
|