Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #21845 from ada4a/push-yoxkrkvpupkl
remove outdated TODO
Chayim Refael Friedman 2 months ago
parent 4eac290 · parent bc35789 · commit 304785c
-rw-r--r--crates/hir/src/diagnostics.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs
index 050777a480..7f672a697c 100644
--- a/crates/hir/src/diagnostics.rs
+++ b/crates/hir/src/diagnostics.rs
@@ -51,20 +51,6 @@ macro_rules! diagnostics {
)*
};
}
-// FIXME Accept something like the following in the macro call instead
-// diagnostics![
-// pub struct BreakOutsideOfLoop {
-// pub expr: InFile<AstPtr<ast::Expr>>,
-// pub is_break: bool,
-// pub bad_value_break: bool,
-// }, ...
-// or more concisely
-// BreakOutsideOfLoop {
-// expr: InFile<AstPtr<ast::Expr>>,
-// is_break: bool,
-// bad_value_break: bool,
-// }, ...
-// ]
diagnostics![AnyDiagnostic<'db> ->
AwaitOutsideOfAsync,