-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
P-highHigh priorityHigh priorityT-langRelevant to the language teamRelevant to the language teamregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
use std::ops::Add;
trait Zero: Add<Self, Output=Self> {
fn zero()->Self;
}
impl Zero for i32 {
fn zero()->i32 {
0
}
}
fn main() {
let mut x = Vec::<i32>::new();
x.extend(vec![Zero::zero()].into_iter())
}
nightly (breaking) : http://is.gd/5Pl8DA
stable (compiles) : http://is.gd/ZLTyOv
Metadata
Metadata
Assignees
Labels
P-highHigh priorityHigh priorityT-langRelevant to the language teamRelevant to the language teamregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.