We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c8b07c0 + 613c121 commit 6663664Copy full SHA for 6663664
compiler/rustc_mir_build/src/build/expr/stmt.rs
@@ -6,10 +6,8 @@ use rustc_middle::thir::*;
6
7
impl<'a, 'tcx> Builder<'a, 'tcx> {
8
/// Builds a block of MIR statements to evaluate the THIR `expr`.
9
- /// If the original expression was an AST statement,
10
- /// (e.g., `some().code(&here());`) then `opt_stmt_span` is the
11
- /// span of that statement (including its semicolon, if any).
12
- /// The scope is used if a statement temporary must be dropped.
+ ///
+ /// The `statement_scope` is used if a statement temporary must be dropped.
13
pub(crate) fn stmt_expr(
14
&mut self,
15
mut block: BasicBlock,
0 commit comments