about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-23 16:23:54 +0100
committerGitHub <noreply@github.com>2023-12-23 16:23:54 +0100
commit870a5d957b32caab930c32bd5545d5c8268cde68 (patch)
treea4b03708d3ada84bde08cbf947455823b6a01b60 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent5a9c25cc84cf3ede5b7467330efbf5db68d4acff (diff)
parentd72771ffeb7beeaf332def8b42c2c62b49cec753 (diff)
downloadrust-870a5d957b32caab930c32bd5545d5c8268cde68.tar.gz
rust-870a5d957b32caab930c32bd5545d5c8268cde68.zip
Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-errors
Clairify `ast::PatKind::Struct` presese of `..` by using an enum instead of a bool

The bool is mainly used for when a `..` is present, but it is also set on recovery to avoid errors. The doc comment not describes both of these cases.

See https://github.com/rust-lang/rust/blob/cee794ee98d49b45a55ba225680d98e0c4672736/compiler/rustc_parse/src/parser/pat.rs#L890-L897 for the only place this is constructed.

r? ``@compiler-errors``
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions