#[scope]Expand description
作用域标记宏。 Scope marker macro.
将此属性添加到函数上,以启用该作用域内 parse_quote! 调用的增强错误报告功能。
当 parse_quote! 解析失败时,它会打印生成的 TokenStream 并高亮错误位置,而不是仅仅 Panic。
Attach this attribute to a function to enable enhanced error reporting for parse_quote! calls within that scope.
When parse_quote! fails, it will print the generated TokenStream and highlight the error, instead of just panicking.