blob: 010d986a86df6eff7b08317e8fa2c23998f07ad6 [file] [log] [blame]
// Unnamed arguments in trait functions can be passed through proc macros on 2015 edition.
//@ check-pass
//@ edition: 2015
//@ proc-macro: test-macros.rs
#![allow(anonymous_parameters)]
#[macro_use]
extern crate test_macros;
trait Tr {
#[identity_attr]
fn method(u8);
}
fn main() {}