]> git.lizzy.rs Git - rust.git/blobdiff - crates/ra_syntax/src/ast/generated/nodes.rs
Converted TODO about MacroItems to FIXME as per edwin0cheng
[rust.git] / crates / ra_syntax / src / ast / generated / nodes.rs
index 29345dc05c8f917d6763406cc51afecf07b720fb..72977a3c6391f2ab1f1154ca1f88b055aabe591b 100644 (file)
@@ -2461,12 +2461,8 @@ pub fn literal(&self) -> Option<Literal> { support::child(&self.syntax) }
     pub fn eq_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![=]) }
     pub fn block_expr(&self) -> Option<BlockExpr> { support::child(&self.syntax) }
 }
-/// Macro items is a node that holds all the items created by expanding a macro.
-///
-/// ```
-/// foo!(); // expands into some items -v
-///         // ❰ struct Foo; impl Bar for Foo; ❱
-/// ```
+/// FIXME: (@edwin0cheng) Remove it to use ItemList instead
+/// https://github.com/rust-analyzer/rust-analyzer/pull/4083#discussion_r422666243
 ///
 /// [Reference](https://doc.rust-lang.org/reference/macros.html)
 #[derive(Debug, Clone, PartialEq, Eq, Hash)]