diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-27 21:29:29 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-04-09 12:15:27 -0400 |
| commit | 03c901fd35b67ee0e67c13c350bc4e1a60e1d91d (patch) | |
| tree | d41d82702e74cfacc630ed70600adccf644e62e0 /compiler/rustc_errors/src/diagnostic_impls.rs | |
| parent | ff24ef91fc848832a8dab483d3b17097cbead5a8 (diff) | |
| download | rust-03c901fd35b67ee0e67c13c350bc4e1a60e1d91d.tar.gz rust-03c901fd35b67ee0e67c13c350bc4e1a60e1d91d.zip | |
Add redundant_lifetime_args lint
Diffstat (limited to 'compiler/rustc_errors/src/diagnostic_impls.rs')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic_impls.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_impls.rs b/compiler/rustc_errors/src/diagnostic_impls.rs index f90190797ae..6c0551848d6 100644 --- a/compiler/rustc_errors/src/diagnostic_impls.rs +++ b/compiler/rustc_errors/src/diagnostic_impls.rs @@ -46,6 +46,7 @@ impl<'a, T: Clone + IntoDiagArg> IntoDiagArg for &'a T { } } +#[macro_export] macro_rules! into_diag_arg_using_display { ($( $ty:ty ),+ $(,)?) => { $( |
