diff options
| author | bors <bors@rust-lang.org> | 2025-01-17 17:50:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-17 17:50:39 +0000 |
| commit | 752fecf8005cd7a7ae8c0b74d0f8fc3cd3cd86fe (patch) | |
| tree | 10eb3bd681214b1175094ff7f8b54c14fd7e7968 /compiler | |
| parent | d0d224db192139a3248058e7a4243a06663ce8df (diff) | |
| parent | 1c859813c2929100c7c7da3f485dd78e42ac7d5c (diff) | |
| download | rust-752fecf8005cd7a7ae8c0b74d0f8fc3cd3cd86fe.tar.gz rust-752fecf8005cd7a7ae8c0b74d0f8fc3cd3cd86fe.zip | |
Auto merge of #135609 - cuviper:beta-next, r=cuviper
[beta] backports - do not in-place-iterate over flatmap/flatten #135104 - Make sure to mark `IMPL_TRAIT_REDUNDANT_CAPTURES` as `Allow` in edition 2024 #135441 - Update to LLVM 19.1.7 #135484 r? cuviper
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_lint/src/impl_trait_overcaptures.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/impl_trait_overcaptures.rs b/compiler/rustc_lint/src/impl_trait_overcaptures.rs index b5dd6cf16ee..6ceaaf6997e 100644 --- a/compiler/rustc_lint/src/impl_trait_overcaptures.rs +++ b/compiler/rustc_lint/src/impl_trait_overcaptures.rs @@ -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`", } |
