fix lints on rust 1.89 (#4587)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-08-19 19:34:13 -07:00
1 parent 27bae6fbb7
commit 9ec474962b
16 files changed
+48 -37

No files matched your search

+2
View File
@@ -694,6 +694,7 @@ impl RouteEnum {
}
}
#[allow(clippy::large_enum_variant)]
enum RouteEndpoint {
Route(Route),
Redirect(Redirect),
@@ -751,6 +752,7 @@ impl ToTokens for SiteMapSegment {
}
}
#[allow(clippy::large_enum_variant)]
enum SegmentType {
Static(String),
Dynamic(String),
+1
View File
@@ -3,6 +3,7 @@ use syn::{Ident, Type};
use proc_macro2::TokenStream as TokenStream2;
#[allow(clippy::large_enum_variant)]
#[derive(Debug)]
pub enum QuerySegment {
Single(FullQuerySegment),
+1
View File
@@ -461,6 +461,7 @@ impl Route {
}
}
#[allow(clippy::large_enum_variant)]
#[derive(Debug)]
pub(crate) enum RouteType {
Child(Field),