Fix compile issue

This commit is contained in:
2025-08-14 19:30:35 +08:00
parent c25bd62ff1
commit 3973f3bb43
7 changed files with 10 additions and 11 deletions

View File

@@ -1,5 +1,4 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(feature = "unstable", feature(doc_auto_cfg))]
#![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_auto_cfg))]
use proc_macro::TokenStream;
use syn::parse::discouraged::Speculative;
use syn::spanned::Spanned;