0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-25 04:06:55 +01:00
rust/tests/ui/anon-params/auxiliary/anon-params-edition-hygiene.rs
2024-02-16 20:02:50 +00:00

22 lines
337 B
Rust

//@ edition:2015
#[macro_export]
macro_rules! generate_trait_2015_ident {
($Type: ident) => {
trait Trait1 {
fn method($Type) {}
}
};
}
#[macro_export]
macro_rules! generate_trait_2015_tt {
($Type: tt) => {
trait Trait2 {
fn method($Type) {}
}
};
}
fn main() {}