rust/tests/ui/resolve/auxiliary/issue-112831-aux.rs
2024-02-16 20:02:50 +00:00

14 lines
263 B
Rust

//@ force-host
//@ no-prefer-dynamic
#![crate_type = "proc-macro"]
extern crate proc_macro;
struct Zeroable;
#[proc_macro_derive(Zeroable)]
pub fn derive_zeroable(_: proc_macro::TokenStream) -> proc_macro::TokenStream {
proc_macro::TokenStream::default()
}