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>`
8 note: required by `HasNew::new`
9 --> $DIR/static-method-generic-inference.rs:8:9
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0283`.