Remove unneeded #[skip_arg] attributes

This commit is contained in:
Guillaume Gomez
2026-05-26 00:45:46 +02:00
parent 62f36da19c
commit 9e96efac62
2 changed files with 0 additions and 17 deletions
@@ -274,11 +274,7 @@ pub(crate) enum IncorrectReprFormatGenericCause {
Int {
#[primary_span]
span: Span,
#[skip_arg]
name: Symbol,
#[skip_arg]
value: u128,
},
@@ -290,11 +286,7 @@ pub(crate) enum IncorrectReprFormatGenericCause {
Symbol {
#[primary_span]
span: Span,
#[skip_arg]
name: Symbol,
#[skip_arg]
value: Symbol,
},
}
@@ -869,7 +869,6 @@ pub(crate) enum ExplicitLifetimeRequired<'a> {
style = "verbose"
)]
new_ty_span: Span,
#[skip_arg]
new_ty: Ty<'a>,
},
#[diag("explicit lifetime required in parameter type", code = E0621)]
@@ -885,7 +884,6 @@ pub(crate) enum ExplicitLifetimeRequired<'a> {
style = "verbose"
)]
new_ty_span: Span,
#[skip_arg]
new_ty: Ty<'a>,
},
}
@@ -1519,7 +1517,6 @@ pub(crate) enum FunctionPointerSuggestion<'a> {
RemoveRef {
#[primary_span]
span: Span,
#[skip_arg]
fn_name: String,
},
#[suggestion(
@@ -1531,9 +1528,7 @@ pub(crate) enum FunctionPointerSuggestion<'a> {
CastRef {
#[primary_span]
span: Span,
#[skip_arg]
fn_name: String,
#[skip_arg]
sig: Binder<'a, FnSig<'a>>,
},
#[suggestion(
@@ -1545,7 +1540,6 @@ pub(crate) enum FunctionPointerSuggestion<'a> {
Cast {
#[primary_span]
span: Span,
#[skip_arg]
sig: Binder<'a, FnSig<'a>>,
},
#[suggestion(
@@ -1557,7 +1551,6 @@ pub(crate) enum FunctionPointerSuggestion<'a> {
CastBoth {
#[primary_span]
span: Span,
#[skip_arg]
found_sig: Binder<'a, FnSig<'a>>,
expected_sig: Binder<'a, FnSig<'a>>,
},
@@ -1570,9 +1563,7 @@ pub(crate) enum FunctionPointerSuggestion<'a> {
CastBothRef {
#[primary_span]
span: Span,
#[skip_arg]
fn_name: String,
#[skip_arg]
found_sig: Binder<'a, FnSig<'a>>,
expected_sig: Binder<'a, FnSig<'a>>,
},