Skip to content

Commit

Permalink
Update analysis.rs
Browse files Browse the repository at this point in the history
`Instance::body()` was modified to return `Option<Body>`
  • Loading branch information
celinval authored Nov 21, 2023
1 parent be3e7cd commit d3360ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kani-compiler/src/kani_middle/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn print_stats<'tcx>(tcx: TyCtxt<'tcx>, items: &[InternalMonoItem<'tcx>]) {
},
)
.fold(StatsVisitor::default(), |mut visitor, body| {
visitor.visit_body(&body.body());
visitor.visit_body(&body.body().unwrap());
visitor
});
eprintln!("====== Reachability Analysis Result =======");
Expand Down

0 comments on commit d3360ff

Please sign in to comment.