1
Fork 0
rust/compiler/rustc_parse/src/parser
Nicholas Nethercote aa0e8e1475 Fix DebugParser.
It currently doesn't work at all. This commit changes it to a simpler
imperative style that produces a valid `tokens` vec.

(An aside: I find `Iterator::scan` to be a pretty wretched function,
that produces code which is very hard to understand. Probably why this
is just one of two uses of it in the entire compiler.)
2024-07-13 16:42:00 +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 Simplify ReplaceRange. 2024-07-07 15:58:36 +10:00
attr_wrapper.rs Remove Clone derive from LazyAttrTokenStreamImpl. 2024-07-07 16:24:51 +10:00
diagnostics.rs Rollup merge of #126125 - dev-ardi:conflict-markers, r=estebank 2024-06-21 09:12:34 +02:00
expr.rs Rollup merge of #127103 - compiler-errors:tighten-trait-bound-parsing, r=fmease 2024-06-29 09:14:59 +02:00
generics.rs Move binder and polarity parsing into parse_generic_ty_bound 2024-06-28 19:40:31 -04:00
item.rs Auto merge of #127382 - estebank:const-let, r=compiler-errors 2024-07-12 01:18:12 +00:00
mod.rs Fix DebugParser. 2024-07-13 16:42:00 +10:00
nonterminal.rs Rework pattern and expression nonterminal kinds. 2024-06-23 15:57:24 +10:00
pat.rs Inline can_begin_literal_maybe_minus call into two places. 2024-06-20 04:50:38 +10:00
path.rs Change RTN to use .. again 2024-06-28 14:20:43 -04:00
stmt.rs Refactor parse_expr_res. 2024-06-19 19:12:02 +10:00
tests.rs Fix DebugParser. 2024-07-13 16:42:00 +10:00
ty.rs Move binder and polarity parsing into parse_generic_ty_bound 2024-06-28 19:40:31 -04:00