1
Fork 0

Update to nightly

This commit is contained in:
Alexander Regueiro 2018-07-20 03:59:07 +01:00
parent c05adc545c
commit 4d2c838a32
4 changed files with 5 additions and 1 deletions

View file

@ -165,7 +165,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingInline {
let desc = match impl_item.node {
hir::ImplItemKind::Method(..) => "a method",
hir::ImplItemKind::Const(..) |
hir::ImplItemKind::Type(_) => return,
hir::ImplItemKind::Type(_) |
hir::ImplItemKind::Existential(_) => return,
};
let def_id = cx.tcx.hir.local_def_id(impl_item.id);