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
Currently, you cannot use #[derive(ptr_eq::PtrEq)] without also useing the trait. This is because when the proc macro generates unsafe impl #impl_gn PtrEq, PtrEq is not qualified. It should use a full module path.
Also, thanks for the crate!
The text was updated successfully, but these errors were encountered:
I'm going to submit an RFC/PR for changing the related trait implementations of Rc, Arc, etc., in the standard library. The std lib Rc<T> should be changed to implement Hash where &T: Hash (instead of T: Hash). Then all we need is to write a derive macro that implements Hash<&T> for T.
Currently, you cannot use
#[derive(ptr_eq::PtrEq)]
without alsouse
ing the trait. This is because when the proc macro generatesunsafe impl #impl_gn PtrEq
,PtrEq
is not qualified. It should use a full module path.Also, thanks for the crate!
The text was updated successfully, but these errors were encountered: