70f1d0d8fd
`extra_unused_lifetimes` add FP test case emitting from derived attributes.
Add test to cover for #9014 which is fixed in #9037.
changelog: [`extra_unused_lifetimes`] Add FP test case emitting from derived attributes.
---
Seeing the FP from the test:
```sh
$ git revert -m 1
|
||
---|---|---|
.. | ||
doc_unsafe_macros.rs | ||
implicit_hasher_macros.rs | ||
macro_rules.rs | ||
macro_use_helper.rs | ||
non-exhaustive-enum.rs | ||
option_helpers.rs | ||
proc_macro_attr.rs | ||
proc_macro_derive.rs | ||
proc_macro_suspicious_else_formatting.rs | ||
proc_macro_unsafe.rs | ||
proc_macro_with_span.rs | ||
test_macro.rs | ||
use_self_macro.rs | ||
wildcard_imports_helper.rs |