Skip to content

Commit 1b7efb5

Browse files
committed
remove an unused struct ForbiddenNonLifetimeParam
1 parent f42f19b commit 1b7efb5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compiler/rustc_ast_passes/src/errors.rs

-7
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,6 @@ pub struct ForbiddenLifetimeBound {
7777
pub spans: Vec<Span>,
7878
}
7979

80-
#[derive(Diagnostic)]
81-
#[diag(ast_passes_forbidden_non_lifetime_param)]
82-
pub struct ForbiddenNonLifetimeParam {
83-
#[primary_span]
84-
pub spans: Vec<Span>,
85-
}
86-
8780
#[derive(Diagnostic)]
8881
#[diag(ast_passes_fn_param_too_many)]
8982
pub struct FnParamTooMany {

0 commit comments

Comments
 (0)