fix librustc test: panic is Option<PanicStrategy> now
This commit is contained in:
parent
cbb967f316
commit
8a46e78e64
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue