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
Matching against function pointers is not reliable and will become a hard error once rust-lang/rust#124661 lands, as was decided in rust-lang/rfcs#3535. I recommend comparing with == instead (though that will be just as unreliable).
The text was updated successfully, but these errors were encountered:
This crate triggers the pointer_structural_match lint:
ctti/src/impls.rs
Line 473 in 1ae5fa0
Matching against function pointers is not reliable and will become a hard error once rust-lang/rust#124661 lands, as was decided in rust-lang/rfcs#3535. I recommend comparing with
==
instead (though that will be just as unreliable).The text was updated successfully, but these errors were encountered: