diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index edebaff9f14..935ea180ebe 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -1448,7 +1448,7 @@ pub static ref ALL_LINTS: Vec = vec![ Lint { name: "new_ret_no_self", group: "style", - desc: "not returning `Self` in a `new` method", + desc: "not returning type containing `Self` in a `new` method", deprecation: None, module: "methods", },