]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/trait-fn-args-2015.rs
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / proc-macro / trait-fn-args-2015.rs
1 // Unnamed arguments in trait functions can be passed through proc macros on 2015 edition.
2
3 // check-pass
4 // aux-build:test-macros.rs
5
6 #![allow(anonymous_parameters)]
7
8 #[macro_use]
9 extern crate test_macros;
10
11 trait Tr {
12     #[identity_attr]
13     fn method(u8);
14 }
15
16 fn main() {}