From 65b380fa8dfa9efa589f16bfe7e73403c514128e Mon Sep 17 00:00:00 2001 From: veetaha Date: Tue, 12 May 2020 23:47:45 +0300 Subject: [PATCH] Convert to TODOs to FIXMEs as per matklad --- crates/ra_syntax/src/ast/generated/nodes.rs | 6 ++---- xtask/src/ast_src.rs | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index 5dad028c7b..05b1977728 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs @@ -2650,8 +2650,7 @@ impl ast::AttrsOwner for ModuleItem {} impl ast::VisibilityOwner for ModuleItem {} /// Any kind of item that may appear in an impl block /// -/// // TODO: is the following a fixme? -/// impl blocks can also contain MacroCall +/// // FIXME: impl blocks can also contain MacroCall #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum AssocItem { FnDef(FnDef), @@ -2662,8 +2661,7 @@ impl ast::NameOwner for AssocItem {} impl ast::AttrsOwner for AssocItem {} /// Any kind of item that may appear in an extern block /// -/// // TODO: is the following a fixme? -/// extern blocks can also contain MacroCall +/// // FIXME: extern blocks can also contain MacroCall #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ExternItem { FnDef(FnDef), diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 80b6967b8b..bebac4a153 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -2150,16 +2150,14 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { /// Any kind of item that may appear in an impl block /// - /// // TODO: is the following a fixme? - /// impl blocks can also contain MacroCall + /// // FIXME: impl blocks can also contain MacroCall enum AssocItem: NameOwner, AttrsOwner { FnDef, TypeAliasDef, ConstDef } /// Any kind of item that may appear in an extern block /// - /// // TODO: is the following a fixme? - /// extern blocks can also contain MacroCall + /// // FIXME: extern blocks can also contain MacroCall enum ExternItem: NameOwner, AttrsOwner, VisibilityOwner { FnDef, StaticDef }