1
Fork 0
rust/compiler/rustc_parse/src/parser
Nicholas Nethercote 1c28229ada Simplify Parser::parse_expr_dot_or_call.
The call in `parse_expr_prefix` for the `++` case passes an empty
`attrs`, but it doesn' need to. This commit changes it to pass the
parsed `attrs`, which doesn't change any behaviour. As a result,
`parse_expr_dot_or_call` no longer needs an `Option` argument, and no
longer needs to call `parse_or_use_outer_attributes`.
2024-06-19 18:53:25 +10:00
..
mut_visit Specialize assert_pred. 2024-06-06 08:26:54 +10:00
tokenstream Move some tests from rustc_expand to rustc_parse. 2024-05-06 09:06:02 +10:00
attr.rs Fix build 2024-06-06 20:27:25 -05:00
attr_wrapper.rs Expand another comment. 2024-06-19 18:53:24 +10:00
diagnostics.rs Reduce pub exposure. 2024-06-06 08:26:54 +10:00
expr.rs Simplify Parser::parse_expr_dot_or_call. 2024-06-19 18:53:25 +10:00
generics.rs Parsing , pre-lowering support for precise captures 2024-04-15 16:45:01 -04:00
item.rs Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorino 2024-06-07 20:14:30 +02:00
mod.rs Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorino 2024-06-07 20:14:30 +02:00
nonterminal.rs Avoid checking the edition as much as possible 2024-06-02 09:42:21 +02:00
pat.rs Remove a Span from TokenKind::Interpolated. 2024-05-13 10:30:30 +10:00
path.rs Reduce pub exposure. 2024-06-06 08:26:54 +10:00
stmt.rs Reduce pub exposure. 2024-06-06 08:26:54 +10:00
tests.rs Make top-level rustc_parse functions fallible. 2024-06-05 10:38:03 +10:00
ty.rs Reduce pub exposure. 2024-06-06 08:26:54 +10:00