aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-05-10 19:57:49 +0100
committerveetaha <[email protected]>2020-05-10 19:57:49 +0100
commit33f240960d15a24036fa72c5410ea296f3ce5b78 (patch)
tree3454b7b15d316a62463ff0dca19cad78b7d20f8f /crates/ra_syntax/src/ast
parenta1dc28f236af8d76d2125b3d5a27c0139b682c64 (diff)
Carify on a semicolon in macro call
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index 9254e4fd4..be49d73ac 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -1830,7 +1830,12 @@ impl NameRef {}
1830/// } 1830/// }
1831/// ❱ 1831/// ❱
1832/// 1832///
1833/// ❰ foo!() ❱ 1833/// // semicolon is a part of `MacroCall` when it is used in item positions
1834/// ❰ foo!(); ❱
1835///
1836/// fn main() {
1837/// ❰ foo!() ❱; // macro call expression position doesn't include the semi
1838/// }
1834/// ``` 1839/// ```
1835/// 1840///
1836/// [Reference](https://doc.rust-lang.org/reference/macros.html) 1841/// [Reference](https://doc.rust-lang.org/reference/macros.html)