Files
rust/tests/ui/rust-2024/unsafe-attributes/auxiliary/safe_attr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
158 B
Rust
Raw Normal View History

extern crate proc_macro;
use proc_macro::TokenStream;
#[proc_macro_attribute]
pub fn safe(_attr: TokenStream, item: TokenStream) -> TokenStream {
item
}