mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-18 11:03:09 +00:00

Remove `mir::CastKind::Misc` As discussed in #97649 `mir::CastKind::Misc` is not clear, this PR addresses that by creating a new enum variant for every valid cast. r? ````@oli-obk````
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.