about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.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
commitf002221a531b6e80ca5e1d7bb665356bed71344a (patch)
tree0a52bc5ba4a7b045a7eb628c07d16fcbba1d2e08 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parent101bc225d88191fd8bb415d3351ef7b2fd5054b0 (diff)
parentd9ea1027b52b94924c00a1ee2eb543f44f64a4e2 (diff)
downloadrust-f002221a531b6e80ca5e1d7bb665356bed71344a.tar.gz
rust-f002221a531b6e80ca5e1d7bb665356bed71344a.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/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions