mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Make PassWhere impl Copy.
It's a very small and simple type.
This commit is contained in:
@@ -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 @@
|
||||
|
||||
/// 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,
|
||||
|
||||
Reference in New Issue
Block a user