rust/compiler/rustc_parse/src/parser
Matthias Krüger f577d808b7
Rollup merge of #126767 - compiler-errors:static-foreign-item, r=spastorino
`StaticForeignItem` and `StaticItem` are the same

The struct `StaticItem` and `StaticForeignItem` are the same, so remove `StaticForeignItem`. Having them be separate is unique to `static` items -- unlike `ForeignItemKind::{Fn,TyAlias}`, which use the normal AST item.

r? ``@spastorino`` or ``@oli-obk``
2024-06-21 09:12:37 +02: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 Auto merge of #126678 - nnethercote:fix-duplicated-attrs-on-nt-expr, r=petrochenkov 2024-06-19 13:58:21 +00:00
diagnostics.rs Rollup merge of #126125 - dev-ardi:conflict-markers, r=estebank 2024-06-21 09:12:34 +02:00
expr.rs Add blank lines after module-level // comments. 2024-06-20 09:23:20 +10:00
generics.rs Rework precise capturing syntax 2024-06-17 22:35:25 -04:00
item.rs StaticForeignItem and StaticItem are the same 2024-06-20 19:51:09 -04:00
mod.rs Properly gate safe keyword in pre-expansion 2024-06-20 14:14:49 -04:00
nonterminal.rs Allow naming expr_2021 in all editions 2024-06-19 12:37:49 -04:00
pat.rs Inline can_begin_literal_maybe_minus call into two places. 2024-06-20 04:50:38 +10:00
path.rs Refactor parse_expr_res. 2024-06-19 19:12:02 +10:00
stmt.rs Refactor parse_expr_res. 2024-06-19 19:12:02 +10:00
tests.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
ty.rs Rework precise capturing syntax 2024-06-17 22:35:25 -04:00