fix lints on rust 1.89 (#4587)
This commit is contained in:
1 parent
27bae6fbb7
commit
9ec474962b
16 files changed
+48
-37
No files matched your search
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -461,6 +461,7 @@ impl Route {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug)]
|
||||
pub(crate) enum RouteType {
|
||||
Child(Field),
|
||||
|
||||
Reference in new issue
Block a user