syn
syn copied to clipboard
Document that parse_quote should not be called in a loop where previous output is interpolated into the next invocation
This can result in quadratic behavior as each interpolated value is flattened to tokens before being parsed again.
for ... {
let x = parse_quote! { ... #x ... };
}