diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-09-28 12:33:33 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-09-28 12:33:33 +0200 |
commit | 5b935a60a5d76d5a5872ce256918f10fdcd50915 (patch) | |
tree | 185e2286aed1455ef523e7626c5d535cc911088c /components/script_plugins/webidl_must_inherit.rs | |
parent | b0b01b86b8e848bf29f557855a58fc1e0d2dff6e (diff) | |
download | servo-5b935a60a5d76d5a5872ce256918f10fdcd50915.tar.gz servo-5b935a60a5d76d5a5872ce256918f10fdcd50915.zip |
Upgrade to rustc 1.40.0-nightly (084beb83e 2019-09-27)
Diffstat (limited to 'components/script_plugins/webidl_must_inherit.rs')
-rw-r--r-- | components/script_plugins/webidl_must_inherit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_plugins/webidl_must_inherit.rs b/components/script_plugins/webidl_must_inherit.rs index 063d99db2af..95d8ad386a9 100644 --- a/components/script_plugins/webidl_must_inherit.rs +++ b/components/script_plugins/webidl_must_inherit.rs @@ -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, }; |