Merge remote-tracking branch 'upstream/master' into rustup
This commit is contained in:
commit
4e6cf0036e
241 changed files with 4457 additions and 1730 deletions
|
|
@ -58,7 +58,6 @@ pub struct NewWithoutDefault {
|
|||
impl_lint_pass!(NewWithoutDefault => [NEW_WITHOUT_DEFAULT]);
|
||||
|
||||
impl<'tcx> LateLintPass<'tcx> for NewWithoutDefault {
|
||||
#[allow(clippy::too_many_lines)]
|
||||
fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'_>) {
|
||||
if let hir::ItemKind::Impl(hir::Impl {
|
||||
of_trait: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue