about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorJack Rickard <jack.rickard@outlook.com>2025-02-03 13:56:20 +0000
committerJack Rickard <jack.rickard@outlook.com>2025-02-03 14:04:57 +0000
commit3f09a2054921708ac8288ac9912885dbe66682ec (patch)
tree829c9f235f96c8d669a20af4277f0463a15d0bad /compiler/rustc_parse/src/errors.rs
parent01a26c026ddd9f0da0307468b07b003b8759fc4a (diff)
downloadrust-3f09a2054921708ac8288ac9912885dbe66682ec.tar.gz
rust-3f09a2054921708ac8288ac9912885dbe66682ec.zip
Do not allow attributes on struct field rest patterns
This removes support for attributes on struct field rest patterns (the `..`) from the parser.
Previously they were being parsed but dropped from the AST, so didn't work and were deleted by rustfmt.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions