Skip to content

regression: array methods unstable feature use #78140

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

Several crates are erroring on as_slice/as_mut_slice being added to the array types (unstably).

I suspect this is because method resolution is now seeing the method on arrays, whereas previously we derefed to &mut [T] and then there was a trait impl on that? There was another similar issue recently, but I forget what the resolution there was.

cc #76118

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions