Skip to content

Breaking Change - encode_utf8 destabilised #32460

Closed
@thepowersgang

Description

@thepowersgang

The change 2b3c5acb1d41a870015c53825689e9ebe4b724e8 converted char::encode_utf8 from a stable method of an unstable trait to an unstable method.

The trait CharExt is imported as part of libcore's prelude, which can be done on the stable build (see https://play.rust-lang.org/?gist=7320c1273bdc3dde5450&version=stable).
Under current nightly, the same code fails to compile due to this same API.

This is technically a regression, and may need a crater run to check if it breaks anything (unlikely), and may need closer scrutiny.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions