diff --git a/src/parse_quote.rs b/src/parse_quote.rs index c4f47e16d1..22cd98effb 100644 --- a/src/parse_quote.rs +++ b/src/parse_quote.rs @@ -113,6 +113,7 @@ use proc_macro2::TokenStream; // Not public API. #[doc(hidden)] +#[track_caller] pub fn parse(token_stream: TokenStream) -> T { let parser = T::parse; match parser.parse2(token_stream) {