update_from_dist_: Better panic on malformed manifest date
@@ -670,7 +670,10 @@ fn update_from_dist_<'a>(
toolchain.date.as_ref().unwrap_or(&fetched),
"%Y-%m-%d",
)
- .expect("Malformed manifest date"),
+ .expect(&format!(
+ "Malformed manifest date: {:?}",
+ toolchain.date.as_ref().unwrap_or(&fetched)
+ )),
)
.pred();
