Lint unnecessary transmutes from ref to ptr #930
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good-first-issue
These issues are a good way to get started with Clippy
We already have
transmute_ptr_to_ref
, but we could also lint the opposite case.Ref jeremyletang/rust-sfml@d84ce75?diff=unified
Edit: The
as _
trick for the secondas
only works on 1.10 nightly (rust-lang/rust#33657)The text was updated successfully, but these errors were encountered: