diff options
Diffstat (limited to 'src/test/rustdoc/rustc-macro-crate.rs')
-rw-r--r-- | src/test/rustdoc/rustc-macro-crate.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/rustdoc/rustc-macro-crate.rs b/src/test/rustdoc/rustc-macro-crate.rs deleted file mode 100644 index dd5edc984..000000000 --- a/src/test/rustdoc/rustc-macro-crate.rs +++ /dev/null @@ -1,14 +0,0 @@ -// force-host -// no-prefer-dynamic -// compile-flags: --crate-type proc-macro - -#![crate_type = "proc-macro"] - -extern crate proc_macro; - -use proc_macro::TokenStream; - -#[proc_macro_derive(Foo)] -pub fn foo(input: TokenStream) -> TokenStream { - input -} |