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
{{ message }}
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
Testing the preview of edition="2018", the fail attribute macro only seems to be recognized when it's inside the lexical block of a #[derive(Fail)] object.
Actually, I'm not seeing the error in a test case like the snippet above. I need to pare down my crate to find a minimal case that reproduces the error.
Testing the preview of
edition="2018"
, thefail
attribute macro only seems to be recognized when it's inside the lexical block of a#[derive(Fail)]
object.So this works:
But this doesn't:
I'm not sure what serde would be doing differently but the
#[serde(...)]
attribute macro still works at either scope.The text was updated successfully, but these errors were encountered: