We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124420f commit aa2ac38Copy full SHA for aa2ac38
clippy_lints/src/lifetimes.rs
@@ -26,8 +26,11 @@ declare_clippy_lint! {
26
/// complicated, while there is nothing out of the ordinary going on. Removing
27
/// them leads to more readable code.
28
///
29
- /// **Known problems:** Potential false negatives: we bail out if the function
30
- /// has a `where` clause where lifetimes are mentioned.
+ /// **Known problems:**
+ /// - We bail out if the function has a `where` clause where lifetimes
31
+ /// are mentioned due to potenial false positives.
32
+ /// - Lifetime bounds such as `impl Foo + 'a` and `T: 'a` must be elided with the
33
+ /// placeholder notation `'_` because the fully elided notation leaves the type bound to `'static`.
34
35
/// **Example:**
36
/// ```rust
0 commit comments