Skip to main content

macro_input_parse_failed

Function macro_input_parse_failed 

Source
pub fn macro_input_parse_failed(rendered: &str) -> Diagnostic
Expand description

Braced token-stream parse failure at the proc-macro boundary. Takes the pre-rendered ParseError text (message plus its caret/location block) verbatim: the proc-macro signature forces the syn::Error string channel, so no key survives past this point and the full text is the lossless payload. Single owner for the parse_braced_tokens_with_* mapping.