We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8c053 commit 84d42cfCopy full SHA for 84d42cf
compiler/rustc_mir_transform/src/dead_store_elimination.rs
@@ -29,6 +29,7 @@ use crate::util::is_within_packed;
29
///
30
/// The `borrowed` set must be a `DenseBitSet` of all the locals that are ever borrowed in this
31
/// body. It can be generated via the [`borrowed_locals`] function.
32
+/// Returns true if any instruction is eliminated.
33
fn eliminate<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) -> bool {
34
let borrowed_locals = borrowed_locals(body);
35
0 commit comments