1 error[E0282]: type annotations needed
2 --> $DIR/do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs:17:11
7 help: try using a fully qualified path to specify the expected types
9 LL | <Thing<bool> as Method<T>>::method(thing, 42);
10 | +++++++++++++++++++++++++++++++++++ ~
12 error[E0283]: type annotations needed
13 --> $DIR/do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs:17:11
15 LL | thing.method(42);
18 note: multiple `impl`s satisfying `Thing<bool>: Method<_>` found
19 --> $DIR/do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs:7:1
21 LL | impl<X> Method<i32> for Thing<X> {
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 LL | impl<X> Method<u32> for Thing<X> {
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 help: try using a fully qualified path to specify the expected types
28 LL | <Thing<bool> as Method<T>>::method(thing, 42);
29 | +++++++++++++++++++++++++++++++++++ ~
31 error: aborting due to 2 previous errors
33 Some errors have detailed explanations: E0282, E0283.
34 For more information about an error, try `rustc --explain E0282`.