Skip to content

Commit

Permalink
remove an unused struct ForbiddenNonLifetimeParam
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Jun 27, 2023
1 parent f42f19b commit 1b7efb5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions compiler/rustc_ast_passes/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ pub struct ForbiddenLifetimeBound {
pub spans: Vec<Span>,
}

#[derive(Diagnostic)]
#[diag(ast_passes_forbidden_non_lifetime_param)]
pub struct ForbiddenNonLifetimeParam {
#[primary_span]
pub spans: Vec<Span>,
}

#[derive(Diagnostic)]
#[diag(ast_passes_fn_param_too_many)]
pub struct FnParamTooMany {
Expand Down

0 comments on commit 1b7efb5

Please sign in to comment.