Parse and feature gate raw address of expressions
This commit is contained in:
parent
a8efd31f2b
commit
064bed0f31
4 changed files with 8 additions and 2 deletions
|
|
@ -592,7 +592,7 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Parse `& mut? <expr>` or `& raw [ const | mut ] <expr>`
|
||||
/// Parse `& mut? <expr>` or `& raw [ const | mut ] <expr>`.
|
||||
fn parse_address_of(&mut self, lo: Span) -> PResult<'a, (Span, ExprKind)> {
|
||||
self.expect_and()?;
|
||||
let (k, m) = if self.check_keyword(kw::Raw)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue