Skip to content

Remove clone shim logic for arrays #197

@RyanGlScott

Description

@RyanGlScott

As of rust-lang/rust#86041, Clone impls for array types are now implemented in library code rather than using clone shims. As such, the TyKind::Array case in mir-json's clone shim logic is now unreachable, and we can remove it to simplify things:

ty::TyKind::Array(t, _) => vec![t],

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions