diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2024-12-02 11:27:57 +0000 |
|---|---|---|
| committer | Jonathan Dönszelmann <jonathan@donsz.nl> | 2024-12-15 18:47:45 +0100 |
| commit | 53b2c7cc95a034467a05a147db1eb4f5666815f8 (patch) | |
| tree | 5da0a6151123700e7053c2797f676d75df4c424d /compiler/rustc_parse/src/parser | |
| parent | a611773d80486c8511ed554400eab0681a8bb068 (diff) | |
| download | rust-53b2c7cc95a034467a05a147db1eb4f5666815f8.tar.gz rust-53b2c7cc95a034467a05a147db1eb4f5666815f8.zip | |
Rename `value` field to `expr` to simplify later commits' diffs
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs index 37556c064d8..ffbd0c5269b 100644 --- a/compiler/rustc_parse/src/parser/mod.rs +++ b/compiler/rustc_parse/src/parser/mod.rs @@ -1376,7 +1376,7 @@ impl<'a> Parser<'a> { AttrArgs::Delimited(args) } else if self.eat(&token::Eq) { let eq_span = self.prev_token.span; - AttrArgs::Eq { eq_span, value: AttrArgsEq::Ast(self.parse_expr_force_collect()?) } + AttrArgs::Eq { eq_span, expr: AttrArgsEq::Ast(self.parse_expr_force_collect()?) } } else { AttrArgs::Empty }) |
