-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
A-CompatibilityIssues regarding semver compatibilityIssues regarding semver compatibilityBlockerThis issue has to be resolved before progress can be madeThis issue has to be resolved before progress can be made
Milestone
Description
Are there backward-compatibility issues with adding a defaulted type parameter to a stable type? For example changing:
struct Vec<T> {…}
To:
struct Vec<T, A: Alloc = Global> {…}
The API Evolution RFC claims this is not a major breaking change, but I vaguely recall discussion of type inference being negatively affected.
Is rust-lang/rust#27336 relevant here?
Metadata
Metadata
Assignees
Labels
A-CompatibilityIssues regarding semver compatibilityIssues regarding semver compatibilityBlockerThis issue has to be resolved before progress can be madeThis issue has to be resolved before progress can be made