File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/librustc_mir/transform Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,12 @@ use crate::transform::{MirPass, MirSource};
21
21
/// }
22
22
/// ```
23
23
///
24
- /// For now, this pass is very simple and only capable of eliminating a single copy.
25
- /// A more general version of copy propagation could yield even more benefits.
24
+ /// For now, this pass is very simple and only capable of eliminating a single copy. A more general
25
+ /// version of copy propagation, such as the one based on non-overlapping live ranges in [#47954] and
26
+ /// [#71003], could yield even more benefits.
27
+ ///
28
+ /// [#47954]: https://github.com/rust-lang/rust/pull/47954
29
+ /// [#71003]: https://github.com/rust-lang/rust/pull/71003
26
30
pub struct RenameReturnPlace ;
27
31
28
32
impl < ' tcx > MirPass < ' tcx > for RenameReturnPlace {
You can’t perform that action at this time.
0 commit comments