1 error[E0223]: ambiguous associated type
2 --> $DIR/associated-types-in-ambiguous-context.rs:6:36
4 LL | fn get<T:Get,U:Get>(x: T, y: U) -> Get::Value {}
5 | ^^^^^^^^^^ help: use fully-qualified syntax: `<Type as Get>::Value`
7 error[E0223]: ambiguous associated type
8 --> $DIR/associated-types-in-ambiguous-context.rs:20:17
10 LL | trait Foo where Foo::Assoc: Bar {
11 | ^^^^^^^^^^ help: use fully-qualified syntax: `<Self as Foo>::Assoc`
13 error[E0223]: ambiguous associated type
14 --> $DIR/associated-types-in-ambiguous-context.rs:25:10
16 LL | type X = std::ops::Deref::Target;
17 | ^^^^^^^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<Type as std::ops::Deref>::Target`
19 error[E0223]: ambiguous associated type
20 --> $DIR/associated-types-in-ambiguous-context.rs:11:23
22 LL | fn grab(&self) -> Grab::Value;
23 | ^^^^^^^^^^^ help: use fully-qualified syntax: `<Self as Grab>::Value`
25 error[E0223]: ambiguous associated type
26 --> $DIR/associated-types-in-ambiguous-context.rs:14:22
28 LL | fn get(&self) -> Get::Value;
29 | ^^^^^^^^^^ help: use fully-qualified syntax: `<Type as Get>::Value`
31 error: aborting due to 5 previous errors
33 For more information about this error, try `rustc --explain E0223`.