Update to nightly
This commit is contained in:
parent
c05adc545c
commit
4d2c838a32
4 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue