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 5e23fce commit 137f944Copy full SHA for 137f944
clippy_lints/src/use_self.rs
@@ -52,7 +52,7 @@ impl LintPass for UseSelf {
52
53
const SEGMENTS_MSG: &str = "segments should be composed of at least 1 element";
54
55
-fn span_use_self_lint(cx: &LateContext, path: &Path) {
+fn span_use_self_lint(cx: &LateContext<'_, '_>, path: &Path) {
56
span_lint_and_sugg(
57
cx,
58
USE_SELF,
@@ -104,7 +104,7 @@ fn check_trait_method_impl_decl<'a, 'tcx: 'a>(
104
item_path: &'a Path,
105
impl_item: &ImplItem,
106
impl_decl: &'tcx FnDecl,
107
- impl_trait_ref: &ty::TraitRef,
+ impl_trait_ref: &ty::TraitRef<'_>,
108
) {
109
let trait_method = cx
110
.tcx
0 commit comments