Skip to content

Commit

Permalink
fix librustc test: panic is Option<PanicStrategy> now
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Sep 28, 2016
1 parent cbb967f commit 8a46e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/session/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 8a46e78

Please sign in to comment.