1
Fork 0

Make sure to mark IMPL_TRAIT_REDUNDANT_CAPTURES as Allow in edition 2024

This commit is contained in:
Michael Goulet 2025-01-13 15:52:45 +00:00
parent eb54a50837
commit 1b068a0dea
3 changed files with 16 additions and 12 deletions

View file

@ -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`",
}