Skip to content

Commit 44b8301

Browse files
committed
Do not store visibility in *ItemRef.
1 parent d37f109 commit 44b8301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/fallible_impl_from.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl<'tcx> LateLintPass<'tcx> for FallibleImplFrom {
6565
}
6666
}
6767

68-
fn lint_impl_body<'tcx>(cx: &LateContext<'tcx>, impl_span: Span, impl_items: &[hir::ImplItemRef<'_>]) {
68+
fn lint_impl_body<'tcx>(cx: &LateContext<'tcx>, impl_span: Span, impl_items: &[hir::ImplItemRef]) {
6969
use rustc_hir::intravisit::{self, NestedVisitorMap, Visitor};
7070
use rustc_hir::{Expr, ExprKind, ImplItemKind, QPath};
7171

0 commit comments

Comments
 (0)