mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Upgrade to rustc 1.40.0-nightly (084beb83e 2019-09-27)
This commit is contained in:
parent
b0b01b86b8
commit
5b935a60a5
3 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue