fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0283]: type annotations required: cannot resolve `_: base::HasNew<base::Foo>` 2 --> $DIR/trait-static-method-generic-inference.rs:24:25 3 | 4LL | fn new() -> T; 5 | -------------- required by `base::HasNew::new` 6... 7LL | let _f: base::Foo = base::HasNew::new(); 8 | ^^^^^^^^^^^^^^^^^ 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0283`.