Skip to content

Commit

Permalink
Merge pull request #1690 from stepancheg/track-called
Browse files Browse the repository at this point in the history
track-caller in quote_spanned!
  • Loading branch information
dtolnay authored Jun 23, 2024
2 parents 537b0c5 + 4338772 commit 37edbd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parse_quote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ use proc_macro2::TokenStream;

// Not public API.
#[doc(hidden)]
#[track_caller]
pub fn parse<T: ParseQuote>(token_stream: TokenStream) -> T {
let parser = T::parse;
match parser.parse2(token_stream) {
Expand Down

0 comments on commit 37edbd2

Please sign in to comment.