]> git.lizzy.rs Git - rust.git/commitdiff
Clarify FIXME
authorJonas Schievink <jonasschievink@gmail.com>
Thu, 17 Sep 2020 20:19:24 +0000 (22:19 +0200)
committerJonas Schievink <jonasschievink@gmail.com>
Fri, 18 Sep 2020 19:23:01 +0000 (21:23 +0200)
compiler/rustc_mir/src/transform/dest_prop.rs

index d1c98354e059080e37483ace7f6f1cf140676ea9..46cbced2d54bc74c04b1496d8d617225227163a2 100644 (file)
@@ -44,8 +44,9 @@
 //!   and performing the optimization would simply delete the assignment, leaving `dest`
 //!   uninitialized.
 //!
-//! * `src` must be a bare `Local` without any indirections or field projections (FIXME: Why?).
-//!   It can be copied or moved by the assignment.
+//! * `src` must be a bare `Local` without any indirections or field projections (FIXME: Is this a
+//!   fundamental restriction or just current impl state?). It can be copied or moved by the
+//!   assignment.
 //!
 //! * The `dest` and `src` locals must never be [*live*][liveness] at the same time. If they are, it
 //!   means that they both hold a (potentially different) value that is needed by a future use of