]> git.feebdaed.xyz Git - 0xmirror/tokio.git/commitdiff
macros: remove `extern crate proc_macro` (#7783)
authorAaron Chen <aaronchen.lisp@gmail.com>
Sun, 21 Dec 2025 10:42:14 +0000 (18:42 +0800)
committerGitHub <noreply@github.com>
Sun, 21 Dec 2025 10:42:14 +0000 (18:42 +0800)
tokio-macros/src/lib.rs

index 647888bf5137a16946147ab7d2055143c67945c9..cd4cba0a24bdee4db1719220e9a91d6186555826 100644 (file)
 
 //! Macros for use with Tokio
 
-// This `extern` is required for older `rustc` versions but newer `rustc`
-// versions warn about the unused `extern crate`.
-#[allow(unused_extern_crates)]
-extern crate proc_macro;
-
 mod entry;
 mod select;