-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Breaking Change - encode_utf8 destabilised #32460
Copy link
Copy link
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant 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.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant 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.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The change 2b3c5acb1d41a870015c53825689e9ebe4b724e8 converted
char::encode_utf8from a stable method of an unstable trait to an unstable method.The trait
CharExtis 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.