about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2023-06-27 22:11:54 +0900
committerTakayuki Maeda <takoyaki0316@gmail.com>2023-06-27 22:11:54 +0900
commit1b7efb5ade628b9fa8de1dd5d73f88a31dbd6ec4 (patch)
tree05f5c04dd8b457cb6161eeb2023381103f56f825 /compiler
parentf42f19b6d3d785a74dbe57aa395b6c288437dd51 (diff)
downloadrust-1b7efb5ade628b9fa8de1dd5d73f88a31dbd6ec4.tar.gz
rust-1b7efb5ade628b9fa8de1dd5d73f88a31dbd6ec4.zip
remove an unused struct `ForbiddenNonLifetimeParam`
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_ast_passes/src/errors.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_ast_passes/src/errors.rs b/compiler/rustc_ast_passes/src/errors.rs
index 82fe2a21d08..ab8015c4a43 100644
--- a/compiler/rustc_ast_passes/src/errors.rs
+++ b/compiler/rustc_ast_passes/src/errors.rs
@@ -78,13 +78,6 @@ pub struct ForbiddenLifetimeBound {
 }
 
 #[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 {
     #[primary_span]