Add redundant_lifetime_args lint

This commit is contained in:
Michael Goulet 2023-11-27 21:29:29 +00:00
parent ff24ef91fc
commit 03c901fd35
5 changed files with 173 additions and 8 deletions

View file

@ -46,6 +46,7 @@ impl<'a, T: Clone + IntoDiagArg> IntoDiagArg for &'a T {
}
}
#[macro_export]
macro_rules! into_diag_arg_using_display {
($( $ty:ty ),+ $(,)?) => {
$(