You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #[rustc_on_unimplemented(mesage = "xxx", label = "xxx")], it is possible to customize error messages if an implementation for a trait is not found. Maybe this can produce better error messages.
It is available under #![feature(on_unimplemented)], which unfortunately requires nightly.
The text was updated successfully, but these errors were encountered:
This is interesting. What I really want is a way to customize how my types are displayed in all error messages. The potential there to make things confusing is high, though, so I'm guessing this is unlikely be a feature.
With
#[rustc_on_unimplemented(mesage = "xxx", label = "xxx")]
, it is possible to customize error messages if an implementation for a trait is not found. Maybe this can produce better error messages.It is available under
#![feature(on_unimplemented)]
, which unfortunately requires nightly.The text was updated successfully, but these errors were encountered: