2023-03-29 08:36:17 -05:00
|
|
|
error[E0283]: type annotations needed: cannot satisfy `<T as Foo>::Assoc: Bar`
|
2023-03-27 16:48:43 -05:00
|
|
|
--> $DIR/recursive-self-normalization.rs:11:5
|
|
|
|
|
|
|
|
|
LL | needs_bar::<T::Assoc>();
|
2023-03-29 08:36:17 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: cannot satisfy `<T as Foo>::Assoc: Bar`
|
|
|
|
note: required by a bound in `needs_bar`
|
|
|
|
--> $DIR/recursive-self-normalization.rs:8:17
|
|
|
|
|
|
|
|
|
LL | fn needs_bar<S: Bar>() {}
|
|
|
|
| ^^^ required by this bound in `needs_bar`
|
2023-03-27 16:48:43 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2023-03-29 08:36:17 -05:00
|
|
|
For more information about this error, try `rustc --explain E0283`.
|