about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-05-07 12:12:31 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-05-09 17:59:35 +0000
commitc17e878fb86bd65b1148e7b08cbb465d396596a2 (patch)
tree070fed57986dd02e55ce86cdb0948839c3da9619
parenta67bf08ed79936fdf9b06d2c8d22fbeb60e55505 (diff)
downloadrust-c17e878fb86bd65b1148e7b08cbb465d396596a2.tar.gz
rust-c17e878fb86bd65b1148e7b08cbb465d396596a2.zip
Correct StorageLive comment.
-rw-r--r--compiler/rustc_mir_transform/src/ssa.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_mir_transform/src/ssa.rs b/compiler/rustc_mir_transform/src/ssa.rs
index 5633adf673e..05a7b226f0c 100644
--- a/compiler/rustc_mir_transform/src/ssa.rs
+++ b/compiler/rustc_mir_transform/src/ssa.rs
@@ -302,8 +302,7 @@ fn compute_copy_classes(ssa: &mut SsaVisitor, body: &Body<'_>) -> IndexVec<Local
 
 #[derive(Debug)]
 pub(crate) struct StorageLiveLocals {
-    /// Set of "StorageLive" statements for each local. When the "StorageLive" statement does not
-    /// dominate all address-taking uses of the local, we mark it as `Set1::Many`.
+    /// Set of "StorageLive" statements for each local.
     storage_live: IndexVec<Local, Set1<LocationExtended>>,
 }