1error[E0277]: the trait bound `Self: Get` is not satisfied
2  --> $DIR/associated-types-no-suitable-supertrait.rs:17:40
3   |
4LL |     fn uhoh<U:Get>(&self, foo: U, bar: <Self as Get>::Value) {}
5   |                                        ^^^^^^^^^^^^^^^^^^^^ the trait `Get` is not implemented for `Self`
6   |
7help: consider further restricting `Self`
8   |
9LL |     fn uhoh<U:Get>(&self, foo: U, bar: <Self as Get>::Value) where Self: Get {}
10   |                                                              +++++++++++++++
11
12error[E0277]: the trait bound `(T, U): Get` is not satisfied
13  --> $DIR/associated-types-no-suitable-supertrait.rs:22:40
14   |
15LL |     fn uhoh<U:Get>(&self, foo: U, bar: <(T, U) as Get>::Value) {}
16   |                                        ^^^^^^^^^^^^^^^^^^^^^^ the trait `Get` is not implemented for `(T, U)`
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0277`.
21