mirror of https://github.com/rwf2/Rocket.git
Update allowed lints for MSRV of 1.75.
This commit is contained in:
parent
dcde224648
commit
ff12b1d4bc
|
@ -120,12 +120,9 @@ pub fn derive_from_form(input: proc_macro::TokenStream) -> TokenStream {
|
||||||
let (ctxt_ty, gen) = context_type(input)?;
|
let (ctxt_ty, gen) = context_type(input)?;
|
||||||
let (impl_gen, _, where_clause) = gen.split_for_impl();
|
let (impl_gen, _, where_clause) = gen.split_for_impl();
|
||||||
let output = mapper::input_default(mapper, input)?;
|
let output = mapper::input_default(mapper, input)?;
|
||||||
Ok(quote_spanned! { mixed(input.span()) =>
|
Ok(quote_spanned! { mixed(input.span())=>
|
||||||
/// Rocket generated FormForm context.
|
/// Rocket generated FormForm context.
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[allow(unknown_lints)]
|
|
||||||
#[allow(renamed_and_removed_lints)]
|
|
||||||
#[allow(private_in_public)]
|
|
||||||
#[allow(private_bounds)]
|
#[allow(private_bounds)]
|
||||||
#vis struct #ctxt_ty #impl_gen #where_clause {
|
#vis struct #ctxt_ty #impl_gen #where_clause {
|
||||||
__opts: #_form::Options,
|
__opts: #_form::Options,
|
||||||
|
|
Loading…
Reference in New Issue