rust/tests/run-make-fulldeps/issue-38237/foo.rs

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

10 lines
186 B
Rust
Raw Normal View History

2016-12-20 15:22:09 -06:00
#![crate_type = "proc-macro"]
extern crate proc_macro;
#[proc_macro_derive(A)]
pub fn derive(ts: proc_macro::TokenStream) -> proc_macro::TokenStream { ts }
#[derive(Debug)]
struct S;