Closed
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?