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