mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 17:15:05 +00:00
15 lines
281 B
Rust
15 lines
281 B
Rust
|
pub fn warn<T>(_: T) {}
|
||
|
|
||
|
macro_rules! define_macro {
|
||
|
($d:tt $lower:ident $upper:ident) => {
|
||
|
#[macro_export]
|
||
|
macro_rules! $upper {
|
||
|
($arg:tt) => {
|
||
|
$crate::$lower($arg)
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
define_macro! {$ warn WARNING}
|