We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
InnermostEnclosingExpr
1 parent 40b8428 commit 52d9590Copy full SHA for 52d9590
src/librustc/middle/region.rs
@@ -198,7 +198,6 @@ impl DeclaringStatementContext {
198
enum InnermostEnclosingExpr {
199
None,
200
Some(ast::NodeId),
201
- DestructionScope(ast::NodeId),
202
Statement(DeclaringStatementContext),
203
}
204
@@ -212,8 +211,6 @@ impl InnermostEnclosingExpr {
212
211
s.to_code_extent(),
213
InnermostEnclosingExpr::Some(parent_id) =>
214
CodeExtent::from_node_id(parent_id),
215
- InnermostEnclosingExpr::DestructionScope(parent_id) =>
216
- CodeExtent::DestructionScope(parent_id),
217
};
218
Some(extent)
219
0 commit comments