Use Box
instead of Rc
for polonius_output
.
Refcounting isn't needed.
This commit is contained in:
parent
89e84c053d
commit
3d7fe9e7dd
4 changed files with 9 additions and 7 deletions
|
@ -586,7 +586,7 @@ struct MirBorrowckCtxt<'a, 'infcx, 'tcx> {
|
|||
next_region_name: RefCell<usize>,
|
||||
|
||||
/// Results of Polonius analysis.
|
||||
polonius_output: Option<Rc<PoloniusOutput>>,
|
||||
polonius_output: Option<Box<PoloniusOutput>>,
|
||||
|
||||
diags: diags::BorrowckDiags<'infcx, 'tcx>,
|
||||
move_errors: Vec<MoveError<'tcx>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue