Skip to content

Commit a59a7d2

Browse files
committed
Add non_exhaustive to SimpleExpr
1 parent a6092ba commit a59a7d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub struct Expr {
2020
/// [`SimpleExpr`] is a node in the expression tree and can represent identifiers, function calls,
2121
/// various operators and sub-queries.
2222
#[derive(Debug, Clone, PartialEq)]
23+
#[non_exhaustive]
2324
pub enum SimpleExpr {
2425
Column(ColumnRef),
2526
Tuple(Vec<SimpleExpr>),

0 commit comments

Comments
 (0)