mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Make PassWhere
impl Copy
.
It's a very small and simple type.
This commit is contained in:
parent
e03c809402
commit
0519a58f7a
@ -226,7 +226,7 @@ fn emit_polonius_mir<'tcx>(
|
||||
regioncx,
|
||||
closure_region_requirements,
|
||||
borrow_set,
|
||||
pass_where.clone(),
|
||||
pass_where,
|
||||
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
|
||||
/// extra information in `dump_mir`
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Copy)]
|
||||
pub enum PassWhere {
|
||||
/// We have not started dumping the control flow graph, but we are about to.
|
||||
BeforeCFG,
|
||||
|
Loading…
Reference in New Issue
Block a user