fix librustc test: panic is Option<PanicStrategy> now

This commit is contained in:
Jorge Aparicio 2016-09-28 10:57:31 -05:00
parent cbb967f316
commit 8a46e78e64

View file

@ -2319,7 +2319,7 @@ mod tests {
assert!(reference.dep_tracking_hash() != opts.dep_tracking_hash());
opts = reference.clone();
opts.cg.panic = PanicStrategy::Abort;
opts.cg.panic = Some(PanicStrategy::Abort);
assert!(reference.dep_tracking_hash() != opts.dep_tracking_hash());
}