Files
rust/compiler/rustc_span
Jonathan Brouwer 501a26cc6a Rollup merge of #161896 - yara-blue:reflection-refactor-array-slice, r=oli-obk
Remove fields from TypeKind: Array, Slice

Tracking issue rust-lang/rust#146922

Part of the [Refactoring to many methods](https://rust-lang.zulipchat.com/#narrow/channel/572285-goals.2Freflection/topic/Refactoring.20to.20many.20methods/with/592226560) reflection subgoal. See that for the full context. In short for various reasons we are moving from an enum `TypeKind` where the variants hold the types information to one that just tells you the type kind. Separate methods on `TypeId` provide a way to get to the data that used to be in the variant.

r? @oli-obk
2026-09-07 21:27:59 +02:00
..