From 503d4f3a31b76522c82a41f752763bcb4eaf476f Mon Sep 17 00:00:00 2001 From: tyranron Date: Tue, 5 Mar 2024 13:21:57 +0200 Subject: [PATCH] Fix `rustc` warnings for latest nightly --- codegen/src/attribute.rs | 2 +- codegen/src/lib.rs | 1 - src/lib.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/codegen/src/attribute.rs b/codegen/src/attribute.rs index 24b010e2..2c27cda3 100644 --- a/codegen/src/attribute.rs +++ b/codegen/src/attribute.rs @@ -16,7 +16,7 @@ use cucumber_expressions::{Expression, Parameter, SingleExpression, Spanned}; use inflections::case::to_pascal_case; use proc_macro2::TokenStream; use quote::{format_ident, quote}; -use regex::{self, Regex}; +use regex::Regex; use syn::{ parse::{Parse, ParseStream}, parse_quote, diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index e565eac3..12840ba5 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -146,7 +146,6 @@ unused_lifetimes, unused_qualifications, unused_results, - unused_tuple_struct_fields, variant_size_differences )] diff --git a/src/lib.rs b/src/lib.rs index 7e74c7c8..2ee029d6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -147,7 +147,6 @@ unused_lifetimes, unused_qualifications, unused_results, - unused_tuple_struct_fields, variant_size_differences )] // TODO: Remove on next `derive_more` major version.