We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PassWhere
Copy
1 parent e03c809 commit 0519a58Copy full SHA for 0519a58
compiler/rustc_borrowck/src/polonius/dump.rs
@@ -226,7 +226,7 @@ fn emit_polonius_mir<'tcx>(
226
regioncx,
227
closure_region_requirements,
228
borrow_set,
229
- pass_where.clone(),
+ pass_where,
230
out,
231
)?;
232
compiler/rustc_middle/src/mir/pretty.rs
@@ -22,7 +22,7 @@ pub(crate) const ALIGN: usize = 40;
22
23
/// An indication of where we are in the control flow graph. Used for printing
24
/// extra information in `dump_mir`
25
-#[derive(Clone)]
+#[derive(Clone, Copy)]
26
pub enum PassWhere {
27
/// We have not started dumping the control flow graph, but we are about to.
28
BeforeCFG,
0 commit comments