then {
match qpath {
QPath::Resolved(..) => {
+ if let ExprKind::Call(ref method, ref _args) = expr.node {
+ if format!("{:?}", method).contains(" as Default>") {
+ return
+ }
+ }
+
+
// TODO: Work out a way to put "whatever the imported way of referencing
// this type in this file" rather than a fully-qualified type.
let expr_ty = cx.tables.expr_ty(expr);