From f558d96253648f0c07145c90d4f5244fa1ae56fd Mon Sep 17 00:00:00 2001 From: Camelid Date: Thu, 29 Oct 2020 23:05:45 -0700 Subject: [PATCH] Link to pass docs from NRVO module docs --- compiler/rustc_mir/src/transform/nrvo.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/rustc_mir/src/transform/nrvo.rs b/compiler/rustc_mir/src/transform/nrvo.rs index 7e05d66074bb1..45b906bf542d5 100644 --- a/compiler/rustc_mir/src/transform/nrvo.rs +++ b/compiler/rustc_mir/src/transform/nrvo.rs @@ -1,3 +1,5 @@ +//! See the docs for [`RenameReturnPlace`]. + use rustc_hir::Mutability; use rustc_index::bit_set::HybridBitSet; use rustc_middle::mir::visit::{MutVisitor, NonUseContext, PlaceContext, Visitor};