fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0282]: type annotations needed 2 --> $DIR/suggest-fully-qualified-closure.rs:23:7 3 | 4LL | q.lol(||()); 5 | ^^^ 6 | 7help: try using a fully qualified path to specify the expected types 8 | 9LL | <Qqq as MyTrait<T>>::lol::<{closure@}>(&q, ||()); 10 | +++ ~ 11 12error[E0283]: type annotations needed 13 --> $DIR/suggest-fully-qualified-closure.rs:23:7 14 | 15LL | q.lol(||()); 16 | ^^^ 17 | 18note: multiple `impl`s satisfying `Qqq: MyTrait<_>` found 19 --> $DIR/suggest-fully-qualified-closure.rs:14:1 20 | 21LL | impl MyTrait<u32> for Qqq{ 22 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 23... 24LL | impl MyTrait<u64> for Qqq{ 25 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 26help: try using a fully qualified path to specify the expected types 27 | 28LL | <Qqq as MyTrait<T>>::lol::<{closure@}>(&q, ||()); 29 | +++ ~ 30 31error: aborting due to 2 previous errors 32 33Some errors have detailed explanations: E0282, E0283. 34For more information about an error, try `rustc --explain E0282`.