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.