1
Fork 0

Point at appropriate type parameter in more trait bound errors

This commit is contained in:
Esteban Küber 2023-08-24 19:23:06 +00:00
parent ac89e1615d
commit 120c24dab5
18 changed files with 85 additions and 58 deletions

View file

@ -1,8 +1,8 @@
error[E0275]: overflow evaluating the requirement `<T as Foo>::Assoc: Bar`
--> $DIR/recursive-self-normalization.rs:12:5
--> $DIR/recursive-self-normalization.rs:12:17
|
LL | needs_bar::<T::Assoc>();
| ^^^^^^^^^^^^^^^^^^^^^
| ^^^^^^^^
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`recursive_self_normalization`)
note: required by a bound in `needs_bar`