mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
11 lines
379 B
Rust
11 lines
379 B
Rust
pub trait A {}
|
|
|
|
macro_rules! __implicit_hasher_test_macro {
|
|
(impl< $($impl_arg:tt),* > for $kind:ty where $($bounds:tt)*) => {
|
|
__implicit_hasher_test_macro!( ($($impl_arg),*) ($kind) ($($bounds)*) );
|
|
};
|
|
|
|
(($($impl_arg:tt)*) ($($kind_arg:tt)*) ($($bounds:tt)*)) => {
|
|
impl< $($impl_arg)* > test_macro::A for $($kind_arg)* where $($bounds)* { }
|
|
};
|
|
}
|