about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-09-05 05:43:55 -0400
committerMichael Goulet <michael@errs.io>2024-09-06 10:32:48 -0400
commit97910580aadab067ef13b5d0094a57e124c743ea (patch)
tree8fd86ff49b72fb83a0a446c860b543ef9cbf6606 /compiler/rustc_parse/src/parser/mod.rs
parent3b3e43a386a9b89609fe529921bdd49ba3511fb8 (diff)
downloadrust-97910580aadab067ef13b5d0094a57e124c743ea.tar.gz
rust-97910580aadab067ef13b5d0094a57e124c743ea.zip
Add initial support for raw lifetimes
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
-rw-r--r--compiler/rustc_parse/src/parser/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs
index 61e3fa2e6c5..b90c41d9163 100644
--- a/compiler/rustc_parse/src/parser/mod.rs
+++ b/compiler/rustc_parse/src/parser/mod.rs
@@ -1666,7 +1666,7 @@ enum FlatToken {
 pub enum ParseNtResult {
     Tt(TokenTree),
     Ident(Ident, IdentIsRaw),
-    Lifetime(Ident),
+    Lifetime(Ident, IdentIsRaw),
 
     /// This case will eventually be removed, along with `Token::Interpolate`.
     Nt(Lrc<Nonterminal>),