diff options
author | veetaha <[email protected]> | 2020-05-12 21:47:45 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-12 21:48:04 +0100 |
commit | 65b380fa8dfa9efa589f16bfe7e73403c514128e (patch) | |
tree | 79d08782b267d27f0d70332cae3c9d0dbcb11023 | |
parent | 55a29982c014a57867a540ccc0161ef983cfcf46 (diff) |
Convert to TODOs to FIXMEs as per matklad
-rw-r--r-- | crates/ra_syntax/src/ast/generated/nodes.rs | 6 | ||||
-rw-r--r-- | 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 5dad028c7..05b197772 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 {} | |||
2650 | impl ast::VisibilityOwner for ModuleItem {} | 2650 | impl ast::VisibilityOwner for ModuleItem {} |
2651 | /// Any kind of item that may appear in an impl block | 2651 | /// Any kind of item that may appear in an impl block |
2652 | /// | 2652 | /// |
2653 | /// // TODO: is the following a fixme? | 2653 | /// // FIXME: impl blocks can also contain MacroCall |
2654 | /// impl blocks can also contain MacroCall | ||
2655 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] | 2654 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
2656 | pub enum AssocItem { | 2655 | pub enum AssocItem { |
2657 | FnDef(FnDef), | 2656 | FnDef(FnDef), |
@@ -2662,8 +2661,7 @@ impl ast::NameOwner for AssocItem {} | |||
2662 | impl ast::AttrsOwner for AssocItem {} | 2661 | impl ast::AttrsOwner for AssocItem {} |
2663 | /// Any kind of item that may appear in an extern block | 2662 | /// Any kind of item that may appear in an extern block |
2664 | /// | 2663 | /// |
2665 | /// // TODO: is the following a fixme? | 2664 | /// // FIXME: extern blocks can also contain MacroCall |
2666 | /// extern blocks can also contain MacroCall | ||
2667 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] | 2665 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
2668 | pub enum ExternItem { | 2666 | pub enum ExternItem { |
2669 | FnDef(FnDef), | 2667 | FnDef(FnDef), |
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 80b6967b8..bebac4a15 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -2150,16 +2150,14 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
2150 | 2150 | ||
2151 | /// Any kind of item that may appear in an impl block | 2151 | /// Any kind of item that may appear in an impl block |
2152 | /// | 2152 | /// |
2153 | /// // TODO: is the following a fixme? | 2153 | /// // FIXME: impl blocks can also contain MacroCall |
2154 | /// impl blocks can also contain MacroCall | ||
2155 | enum AssocItem: NameOwner, AttrsOwner { | 2154 | enum AssocItem: NameOwner, AttrsOwner { |
2156 | FnDef, TypeAliasDef, ConstDef | 2155 | FnDef, TypeAliasDef, ConstDef |
2157 | } | 2156 | } |
2158 | 2157 | ||
2159 | /// Any kind of item that may appear in an extern block | 2158 | /// Any kind of item that may appear in an extern block |
2160 | /// | 2159 | /// |
2161 | /// // TODO: is the following a fixme? | 2160 | /// // FIXME: extern blocks can also contain MacroCall |
2162 | /// extern blocks can also contain MacroCall | ||
2163 | enum ExternItem: NameOwner, AttrsOwner, VisibilityOwner { | 2161 | enum ExternItem: NameOwner, AttrsOwner, VisibilityOwner { |
2164 | FnDef, StaticDef | 2162 | FnDef, StaticDef |
2165 | } | 2163 | } |