WIP compiles and doesn't crash (much) but tests are failing
This commit is contained in:
@@ -42,7 +42,7 @@ impl LateLintPass for UnnecessaryMutPassed {
|
||||
.expect("A function with an unknown type is called. \
|
||||
If this happened, the compiler would have \
|
||||
aborted the compilation long ago");
|
||||
if let ExprPath(_, ref path) = fn_expr.node {
|
||||
if let ExprPath(ref path) = fn_expr.node {
|
||||
check_arguments(cx, arguments, function_type, &path.to_string());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user