error: overflow evaluating the requirement
without precise link to origin of the error
#81785
Labels
overflow evaluating the requirement
without precise link to origin of the error
#81785
When some type doesn't implement some trait, rust error message overflow evaluating the requirement (which is ok), but it fails to give a proper error message, as it doesn't show where the error comes from. It would be very more helpful if the error message points to where the failing evaluation comes from.
I tried this code:
I expected to see this happen: have a reference to what trigger the error, i.e. this call
_foo::<T>()
Instead, this happened: a not very helpful error message:
Meta
the bug exist on stable, and nightly 2021-02-04
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: