aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorrobojumper <[email protected]>2020-05-28 20:42:22 +0100
committerrobojumper <[email protected]>2020-05-28 20:42:22 +0100
commit367487fe88dca78cffad5138673d5259f7f7ba6b (patch)
tree2846ebee3a16875674aed26b534f905a30cb598f /xtask/src
parent190a0595a478d059fdd95a179fe38d59cb6379be (diff)
Support raw_ref_op's raw reference operator
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/ast_src.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index 394a7bc88..d4621930e 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -1153,10 +1153,12 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
1153 /// ``` 1153 /// ```
1154 /// ❰ &foo ❱; 1154 /// ❰ &foo ❱;
1155 /// ❰ &mut bar ❱; 1155 /// ❰ &mut bar ❱;
1156 /// ❰ &raw const bar ❱;
1157 /// ❰ &raw mut bar ❱;
1156 /// ``` 1158 /// ```
1157 /// 1159 ///
1158 /// [Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#borrow-operators) 1160 /// [Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#borrow-operators)
1159 struct RefExpr: AttrsOwner { T![&], T![raw], T![mut], Expr } 1161 struct RefExpr: AttrsOwner { T![&], T![raw], T![mut], T![const], Expr }
1160 1162
1161 /// Prefix operator call. This is either `!` or `*` or `-`. 1163 /// Prefix operator call. This is either `!` or `*` or `-`.
1162 /// 1164 ///