diff --git a/promql/parser/lex.go b/promql/parser/lex.go index b3e764bd50..111b0cb530 100644 --- a/promql/parser/lex.go +++ b/promql/parser/lex.go @@ -86,9 +86,6 @@ func (i ItemType) IsSetOperator() bool { return false } -// LowestPrec is a constant for operator precedence in expressions. -const LowestPrec = 0 // Non-operators. - type ItemType int // This is a list of all keywords in PromQL.