Skip to content

Commit 2471a7c

Browse files
authored
Rollup merge of #78556 - camelid:mir-opt-nrvo-docs, r=jyn514
Link to pass docs from NRVO module docs It can be easy to miss that this is documented on the pass's struct if you are looking at the module docs. Cc https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt/topic/what.20is.20NRVO.3F
2 parents 73d0340 + f558d96 commit 2471a7c

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_mir/src/transform

1 file changed

+2
-0
lines changed

Diff for: compiler/rustc_mir/src/transform/nrvo.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! See the docs for [`RenameReturnPlace`].
2+
13
use rustc_hir::Mutability;
24
use rustc_index::bit_set::HybridBitSet;
35
use rustc_middle::mir::visit::{MutVisitor, NonUseContext, PlaceContext, Visitor};

0 commit comments

Comments
 (0)