diff --git a/Cargo.toml b/Cargo.toml index d4134461685f..71d6d2864f2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "0.0.44" +version = "0.0.45" authors = [ "Manish Goregaokar ", "Andre Bogus ", diff --git a/src/types.rs b/src/types.rs index 27c67e78e03a..cf90155b1fa1 100644 --- a/src/types.rs +++ b/src/types.rs @@ -432,7 +432,7 @@ impl LateLintPass for TypeComplexityPass { fn check_struct_field(&mut self, cx: &LateContext, field: &StructField) { // enum variants are also struct fields now - check_type(cx, &field.node.ty); + check_type(cx, &field.ty); } fn check_item(&mut self, cx: &LateContext, item: &Item) {