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
Hello, I'm getting started on integrating rkyv into my crate and I ran into a small splinter. I have a custom Result type alias which causes errors when deriving CheckBytes. The fix is to use the fully-qualified name ::std::result::Result everywhere in the macro.
A test case could be added that includes no_implicit_prelude to detect any other hygienics issues of this sort.
The text was updated successfully, but these errors were encountered:
Fixed by f2c4eff. I tried using no_implicit_prelude but it ended up causing more noise than signal by complaining about uses of Ok, Err, and Sized. If the opportunity comes up for a full pass on the derive macro, I'll take a look at using it then.
Hello, I'm getting started on integrating rkyv into my crate and I ran into a small splinter. I have a custom
Result
type alias which causes errors when deriving CheckBytes. The fix is to use the fully-qualified name::std::result::Result
everywhere in the macro.A test case could be added that includes no_implicit_prelude to detect any other hygienics issues of this sort.
The text was updated successfully, but these errors were encountered: