X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_mir_dataflow%2Fsrc%2Fimpls%2Fliveness.rs;h=2890fa32cc915fdf540f2ee66ce73d7afc44c31b;hb=401fe5c000d785fdc428ea753c9246dfe6bce935;hp=923dc16c11b077268e175de33677bb58400649c3;hpb=bd20fc1fd657b32f7aa1d70d8723f04c87f21606;p=rust.git diff --git a/compiler/rustc_mir_dataflow/src/impls/liveness.rs b/compiler/rustc_mir_dataflow/src/impls/liveness.rs index 923dc16c11b..2890fa32cc9 100644 --- a/compiler/rustc_mir_dataflow/src/impls/liveness.rs +++ b/compiler/rustc_mir_dataflow/src/impls/liveness.rs @@ -271,6 +271,7 @@ fn apply_statement_effect( | StatementKind::AscribeUserType(..) | StatementKind::Coverage(..) | StatementKind::Intrinsic(..) + | StatementKind::ConstEvalCounter | StatementKind::Nop => None, }; if let Some(destination) = destination {