From 33f240960d15a24036fa72c5410ea296f3ce5b78 Mon Sep 17 00:00:00 2001 From: veetaha Date: Sun, 10 May 2020 21:57:49 +0300 Subject: Carify on a semicolon in macro call --- crates/ra_syntax/src/ast/generated/nodes.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crates/ra_syntax') 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 {} /// } /// ❱ /// -/// ❰ foo!() ❱ +/// // semicolon is a part of `MacroCall` when it is used in item positions +/// ❰ foo!(); ❱ +/// +/// fn main() { +/// ❰ foo!() ❱; // macro call expression position doesn't include the semi +/// } /// ``` /// /// [Reference](https://doc.rust-lang.org/reference/macros.html) -- cgit v1.2.3