Skip to content

Commit

Permalink
Merge pull request #1508 from dtolnay/error
Browse files Browse the repository at this point in the history
Parse rustc's representation of macro expansion error
  • Loading branch information
dtolnay authored Sep 13, 2023
2 parents 41b83c8 + 84cfe09 commit 2cd5608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,7 @@ mod value {
// c"...", cr"...", cr#"..."#
// TODO: add a Lit::CStr variant?
b'c' => return Lit::Verbatim(token),
b'(' if repr == "(/*ERROR*/)" => return Lit::Verbatim(token),
_ => {}
}

Expand Down

0 comments on commit 2cd5608

Please sign in to comment.