1 error[E0282]: type annotations needed
2 --> $DIR/do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs:17:11
7 | | cannot infer type for type parameter `T` declared on the trait `Method`
8 | this method call resolves to `T`
10 error[E0283]: type annotations needed
11 --> $DIR/do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs:17:11
13 LL | thing.method(42);
16 | | cannot infer type for type parameter `T` declared on the trait `Method`
17 | this method call resolves to `T`
19 note: multiple `impl`s satisfying `Thing<bool>: Method<_>` found
20 --> $DIR/do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs:7:1
22 LL | impl<X> Method<i32> for Thing<X> {
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 LL | impl<X> Method<u32> for Thing<X> {
26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27 help: use the fully qualified path for the potential candidates
29 LL | <Thing<_> as Method<i32>>::method(thing, 42);
30 | ++++++++++++++++++++++++++++++++++ ~
31 LL | <Thing<_> as Method<u32>>::method(thing, 42);
32 | ++++++++++++++++++++++++++++++++++ ~
34 error: aborting due to 2 previous errors
36 Some errors have detailed explanations: E0282, E0283.
37 For more information about an error, try `rustc --explain E0282`.