rust/compiler/rustc_parse/src
bors 4ba4ac612d Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote
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.

EDIT: this PR also updates `rustfmt.toml` to set
`use_field_init_shorthand = true`.
2024-12-18 19:16:15 +00:00
..
lexer Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
parser Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote 2024-12-18 19:16:15 +00:00
errors.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib.rs Add test to check unicode identifier version 2024-12-09 06:23:59 -08:00
validate_attr.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00