diff options
author | veetaha <[email protected]> | 2020-05-10 19:57:49 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-10 19:57:49 +0100 |
commit | 33f240960d15a24036fa72c5410ea296f3ce5b78 (patch) | |
tree | 3454b7b15d316a62463ff0dca19cad78b7d20f8f /crates/ra_syntax | |
parent | a1dc28f236af8d76d2125b3d5a27c0139b682c64 (diff) |
Carify on a semicolon in macro call
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/ast/generated/nodes.rs | 7 |
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) |