Make sure to mark IMPL_TRAIT_REDUNDANT_CAPTURES as Allow in edition 2024
This commit is contained in:
parent
eb54a50837
commit
1b068a0dea
3 changed files with 16 additions and 12 deletions
|
@ -99,7 +99,7 @@ declare_lint! {
|
|||
/// To fix this, remove the `use<'a>`, since the lifetime is already captured
|
||||
/// since it is in scope.
|
||||
pub IMPL_TRAIT_REDUNDANT_CAPTURES,
|
||||
Warn,
|
||||
Allow,
|
||||
"redundant precise-capturing `use<...>` syntax on an `impl Trait`",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue