1 error[E0283]: type annotations needed
2 --> $DIR/static-method-generic-inference.rs:24:25
4 LL | let _f: base::Foo = base::HasNew::new();
5 | ^^^^^^^^^^^^^^^^^ cannot infer type
7 = note: cannot satisfy `_: HasNew<Foo>`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0283`.