mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
Rust upgrade to 2016-03-02 nightly
This commit is contained in:
parent
e4b3cbb091
commit
100ca33742
@ -432,7 +432,7 @@ impl LateLintPass for TypeComplexityPass {
|
|||||||
|
|
||||||
fn check_struct_field(&mut self, cx: &LateContext, field: &StructField) {
|
fn check_struct_field(&mut self, cx: &LateContext, field: &StructField) {
|
||||||
// enum variants are also struct fields now
|
// 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) {
|
fn check_item(&mut self, cx: &LateContext, item: &Item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user