rust/compiler/rustc_parse/src/parser
Josh Triplett a105cd6066 Use field init shorthand where possible
Field init shorthand allows writing initializers like `tcx: tcx` as
`tcx`. The compiler already uses it extensively. Fix the last few places
where it isn't yet used.
2024-12-17 14:33:10 -08:00
..
mut_visit Reformat use declarations. 2024-07-29 08:26:52 +10:00
tokenstream allow symbol_intern_string_literal lint in test modules 2024-12-11 20:38:55 +03:00
attr.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00
attr_wrapper.rs Introduce InvisibleOrigin on invisible delimiters. 2024-11-21 08:16:54 +11:00
diagnostics.rs Remove PErr. 2024-12-12 11:31:55 +11:00
expr.rs Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obk 2024-12-13 17:25:31 +01:00
generics.rs Refactor where predicates, and reserve for attributes support 2024-11-25 16:38:35 +08:00
item.rs Keep track of parse errors in mods and don't emit resolve errors for paths involving them 2024-12-10 18:17:24 +00:00
mod.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00
nonterminal.rs refactor pat parser method names/doc-comments to agree with RFC 3637 2024-11-24 18:08:20 +01:00
pat.rs Use field init shorthand where possible 2024-12-17 14:33:10 -08:00
path.rs parse guard patterns 2024-11-24 19:42:33 +01:00
stmt.rs Eliminate precedence arithmetic from rustc_parse 2024-11-30 17:53:39 -08:00
tests.rs allow symbol_intern_string_literal lint in test modules 2024-12-11 20:38:55 +03:00
ty.rs Add tests 2024-12-12 16:29:40 +00:00