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
Right now, compile-time errors on transmogrify can be truly terrifying and unhelpful.
The new #[diagnostic::on_unimplemented] attribute from 1.78.0 might be helpful here.
That said, much of the functionality around LabelledGeneric and friends are built on top of smaller, more basic traits, which are based on other traits.... so I'm not really sure how far we can really go. Worth a think though.
Right now, compile-time errors on
transmogrify
can be truly terrifying and unhelpful.The new
#[diagnostic::on_unimplemented]
attribute from 1.78.0 might be helpful here.That said, much of the functionality around
LabelledGeneric
and friends are built on top of smaller, more basic traits, which are based on other traits.... so I'm not really sure how far we can really go. Worth a think though.frunk/core/src/labelled.rs
Lines 829 to 911 in 1ca9c99
The text was updated successfully, but these errors were encountered: