]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/needless_pass_by_value_proc_macro.rs
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / needless_pass_by_value_proc_macro.rs
index 3142210f9bf3cced608c132d42c7e2a446448fa3..78a0e92d1797976c8a1fcfcdb28aa4d21f90e168 100644 (file)
@@ -9,3 +9,13 @@
 pub fn foo(_input: TokenStream) -> TokenStream {
     unimplemented!()
 }
+
+#[proc_macro]
+pub fn bar(_input: TokenStream) -> TokenStream {
+    unimplemented!()
+}
+
+#[proc_macro_attribute]
+pub fn baz(_args: TokenStream, _input: TokenStream) -> TokenStream {
+    unimplemented!()
+}