We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1079e24 + 2e6223c commit 5f05d1dCopy full SHA for 5f05d1d
cfgrammar/src/lib/yacc/ast.rs
@@ -111,6 +111,7 @@ impl FromStr for ASTWithValidityInfo {
111
/// `complete_and_validate` must be called exactly once in order to finish the set-up. At that
112
/// point, any further mutations made to the struct lead to undefined behaviour.
113
#[derive(Debug)]
114
+#[non_exhaustive]
115
pub struct GrammarAST {
116
pub start: Option<(String, Span)>,
117
// map from a rule name to indexes into `prods`
0 commit comments