We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9af78 commit a601990Copy full SHA for a601990
gcc/rust/ast/rust-expr.h
@@ -4374,11 +4374,11 @@ class IfLetExpr : public ExprWithBlock
4374
4375
IfLetExpr (std::vector<std::unique_ptr<Pattern> > match_arm_patterns,
4376
std::unique_ptr<Expr> value, std::unique_ptr<BlockExpr> if_block,
4377
- std::vector<Attribute> /* outer_attrs */, Location locus)
4378
- : match_arm_patterns (std::move (match_arm_patterns)),
+ std::vector<Attribute> outer_attrs, Location locus)
+ : outer_attrs (std::move (outer_attrs)),
4379
+ match_arm_patterns (std::move (match_arm_patterns)),
4380
value (std::move (value)), if_block (std::move (if_block)), locus (locus)
4381
{}
- // outer attributes not allowed on if let exprs either
4382
4383
// copy constructor with clone
4384
IfLetExpr (IfLetExpr const &other)
0 commit comments