Skip to content

Commit b897181

Browse files
committed
Remove false positives from known problems
1 parent e28445e commit b897181

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clippy_lints/src/use_self.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ use if_chain::if_chain;
2727
/// feels inconsistent.
2828
///
2929
/// **Known problems:**
30-
/// - Does not trigger within locally defined macros (#2098)
3130
/// - False positive when using associated types (#2843)
3231
/// - False positives in some situations when using generics (#3410)
3332
/// - False positive when type from outer function can't be used (#3463)
34-
/// - Does not trigger in lifetimed structs
3533
///
3634
/// **Example:**
3735
/// ```rust

tests/ui/use_self.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mod lifetimes {
6767
Foo { foo_str: "foo" }
6868
}
6969

70-
// TODO: the lint does not handle lifetimed struct
70+
// FIXME: the lint does not handle lifetimed struct
7171
// `Self` should be applicable here
7272
fn clone(&self) -> Foo<'a> {
7373
Foo { foo_str: self.foo_str }

0 commit comments

Comments
 (0)