]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-project-from-hrtb-in-trait-method.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.git] / src / test / ui / associated-types / associated-types-project-from-hrtb-in-trait-method.stderr
1 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
2   --> $DIR/associated-types-project-from-hrtb-in-trait-method.rs:13:32
3    |
4 LL |     fn some_method(&self, arg: I::A);
5    |                                ^^^^ help: use a fully qualified path with inferred lifetimes: `<I as Foo<&isize>>::A`
6
7 error[E0212]: cannot use the associated type of a trait with uninferred generic parameters
8   --> $DIR/associated-types-project-from-hrtb-in-trait-method.rs:32:24
9    |
10 LL |     fn mango(&self) -> X::Assoc {
11    |                        ^^^^^^^^ help: use a fully qualified path with inferred lifetimes: `<X as Banana<'_>>::Assoc`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0212`.