error[E0283]: type annotations needed --> $DIR/suggest-fully-qualified-closure.rs:21:7 | LL | q.lol(||()); | ^^^ | note: multiple `impl`s satisfying `Qqq: MyTrait<_>` found --> $DIR/suggest-fully-qualified-closure.rs:12:1 | LL | impl MyTrait for Qqq{ | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | impl MyTrait for Qqq{ | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try using a fully qualified path to specify the expected types | LL | >::lol::<_>(&q, ||()); | +++++++++++++++++++++++++++++++ ~ error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0283`.