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};
2121/// }
2222/// ```
2323///
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
2630pub struct RenameReturnPlace ;
2731
2832impl < ' tcx > MirPass < ' tcx > for RenameReturnPlace {
You can’t perform that action at this time.
0 commit comments