1error[E0277]: the trait bound `<G as GetToInt>::R: ToInt` is not satisfied
2  --> $DIR/associated-types-bound-failure.rs:19:19
3   |
4LL |     ToInt::to_int(&g.get())
5   |     ------------- ^^^^^^^^ the trait `ToInt` is not implemented for `<G as GetToInt>::R`
6   |     |
7   |     required by a bound introduced by this call
8   |
9help: consider further restricting the associated type
10   |
11LL |     where G : GetToInt, <G as GetToInt>::R: ToInt
12   |                       +++++++++++++++++++++++++++
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.
17