To experiment with Hyper, I started with the GET example. Aside the fact that the example doesn't compile (no method `get` in `client`
) I have distilled my problem to a single line:
fn temp() {
let client = Client::new();
}
This code won't compile:
unable to infer enough type information about `_`; type annotations or generic parameter binding required [E0282]