fix new rust 1.87 cargo clippy warnings (#1856)

This commit is contained in:
Ophir LOJKINE 2025-05-19 13:09:00 +02:00 committed by GitHub
parent ae587dcbec
commit e7bf186e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 10 deletions

View file

@ -149,6 +149,10 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(clippy::upper_case_acronyms)]
// Permit large enum variants to keep a unified, expressive AST.
// Splitting complex nodes (expressions, statements, types) into separate types
// would bloat the API and hide intent. Extra memory is a worthwhile tradeoff.
#![allow(clippy::large_enum_variant)]
// Allow proc-macros to find this crate
extern crate self as sqlparser;