2022-05-11 05:18:02 -05:00
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/not-suggest-non-existing-fully-qualified-path.rs:21:7
|
|
|
|
|
|
|
|
|
LL | a.method();
|
2022-02-14 06:25:26 -06:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
help: try using a fully qualified path to specify the expected types
|
|
|
|
|
|
|
|
|
LL | <A<B> as V<U>>::method(a);
|
|
|
|
| +++++++++++++++++++++++ ~
|
2022-05-11 05:18:02 -05:00
|
|
|
|
|
|
|
error[E0283]: type annotations needed
|
|
|
|
--> $DIR/not-suggest-non-existing-fully-qualified-path.rs:21:7
|
|
|
|
|
|
|
|
|
LL | a.method();
|
2022-02-14 06:25:26 -06:00
|
|
|
| ^^^^^^
|
2022-05-17 03:34:58 -05:00
|
|
|
|
|
2022-05-11 05:18:02 -05:00
|
|
|
note: multiple `impl`s satisfying `B: I<_>` found
|
|
|
|
--> $DIR/not-suggest-non-existing-fully-qualified-path.rs:5:1
|
|
|
|
|
|
|
|
|
LL | impl I<i32> for B {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
LL | impl I<u32> for B {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2022-08-15 15:31:37 -05:00
|
|
|
note: required for `A<B>` to implement `V<_>`
|
2022-05-11 05:18:02 -05:00
|
|
|
--> $DIR/not-suggest-non-existing-fully-qualified-path.rs:12:12
|
|
|
|
|
|
|
|
|
LL | impl<T, U> V<U> for A<T>
|
|
|
|
| ^^^^ ^^^^
|
2023-01-10 21:21:11 -06:00
|
|
|
LL | where
|
|
|
|
LL | T: I<U>,
|
|
|
|
| ---- unsatisfied trait bound introduced here
|
2022-02-14 06:25:26 -06:00
|
|
|
help: try using a fully qualified path to specify the expected types
|
|
|
|
|
|
|
|
|
LL | <A<B> as V<U>>::method(a);
|
|
|
|
| +++++++++++++++++++++++ ~
|
2022-05-11 05:18:02 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
Some errors have detailed explanations: E0282, E0283.
|
|
|
|
For more information about an error, try `rustc --explain E0282`.
|