mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-20 12:38:57 +00:00
The code that consumes PointerKind (`adjust_for_rust_scalar` in rustc_ty_utils) ended up using PointerKind variants to talk about Rust reference types (& and &mut) anyway, making the old code structure quite confusing: one always had to keep in mind which PointerKind corresponds to which type. So this changes PointerKind to directly reflect the type. This does not change behavior.
1.6 KiB
1.6 KiB