Open jendrikw opened 6 years ago
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.