Merge commit '4911ab124c
' into clippyup
This commit is contained in:
parent
f00b6ac24e
commit
f03edfd7a1
116 changed files with 3199 additions and 1047 deletions
|
@ -222,9 +222,8 @@ fn check_impl_items(cx: &LateContext<'_>, item: &Item<'_>, impl_items: &[ImplIte
|
|||
let is_empty = if let Some(is_empty) = impl_items.iter().find(|i| is_named_self(cx, i, "is_empty")) {
|
||||
if cx.access_levels.is_exported(is_empty.id.hir_id) {
|
||||
return;
|
||||
} else {
|
||||
"a private"
|
||||
}
|
||||
"a private"
|
||||
} else {
|
||||
"no corresponding"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue