mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Remove MacroStmts as per edwin0cheng
This commit is contained in:
parent
258a3461b4
commit
7a49165f5d
2 changed files with 0 additions and 47 deletions
|
@ -2010,21 +2010,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
/// [Reference](https://doc.rust-lang.org/reference/macros.html)
|
||||
struct MacroItems: ModuleItemOwner { }
|
||||
|
||||
// TODO: Idk what I am writing here, please don't believe these words.
|
||||
// TODO: clarify @matklad @edwin0cheng
|
||||
/// Macro statements is a node that holds an statements created by expanding a macro.
|
||||
///
|
||||
/// ```
|
||||
/// foo!(); // expands into some statements -v
|
||||
/// // ❰ foo_crate::bar(); ❱
|
||||
/// ```
|
||||
///
|
||||
/// [Reference](https://doc.rust-lang.org/reference/macros.html)
|
||||
struct MacroStmts {
|
||||
statements: [Stmt],
|
||||
Expr,
|
||||
}
|
||||
|
||||
/// List of items in an extern block.
|
||||
///
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue