Make PassWhere
impl Copy
.
It's a very small and simple type.
This commit is contained in:
parent
e03c809402
commit
0519a58f7a
2 changed files with 2 additions and 2 deletions
|
@ -226,7 +226,7 @@ fn emit_polonius_mir<'tcx>(
|
||||||
regioncx,
|
regioncx,
|
||||||
closure_region_requirements,
|
closure_region_requirements,
|
||||||
borrow_set,
|
borrow_set,
|
||||||
pass_where.clone(),
|
pass_where,
|
||||||
out,
|
out,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ pub(crate) const ALIGN: usize = 40;
|
||||||
|
|
||||||
/// An indication of where we are in the control flow graph. Used for printing
|
/// An indication of where we are in the control flow graph. Used for printing
|
||||||
/// extra information in `dump_mir`
|
/// extra information in `dump_mir`
|
||||||
#[derive(Clone)]
|
#[derive(Clone, Copy)]
|
||||||
pub enum PassWhere {
|
pub enum PassWhere {
|
||||||
/// We have not started dumping the control flow graph, but we are about to.
|
/// We have not started dumping the control flow graph, but we are about to.
|
||||||
BeforeCFG,
|
BeforeCFG,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue