Upgrade to rustc 1.40.0-nightly (084beb83e 2019-09-27)

This commit is contained in:
Simon Sapin 2019-09-28 12:33:33 +02:00
parent b0b01b86b8
commit 5b935a60a5
3 changed files with 5 additions and 5 deletions

View file

@ -177,7 +177,7 @@ impl LintPass for WebIdlPass {
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for WebIdlPass {
fn check_item(&mut self, cx: &LateContext<'a, 'tcx>, item: &'tcx hir::Item) {
let def = match &item.node {
let def = match &item.kind {
hir::ItemKind::Struct(def, ..) => def,
_ => return,
};