diff --git a/crates/formality-core/src/parse/parser.rs b/crates/formality-core/src/parse/parser.rs index 251241e9..dea85e2f 100644 --- a/crates/formality-core/src/parse/parser.rs +++ b/crates/formality-core/src/parse/parser.rs @@ -107,7 +107,7 @@ impl Precedence { impl Default for Precedence { fn default() -> Self { - Self::new(0, Associativity::None) + Self::new(std::usize::MAX, Associativity::None) } }