about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/box-of-array-of-drop-2.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-09-24 21:06:54 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-09-24 21:31:23 +0000
commit43057698c12e8ceab1f49eff8a3e5a38cc05f7db (patch)
tree0570532f2d602bd1d5e7c5d7221ecff555f75c47 /tests/ui/array-slice-vec/box-of-array-of-drop-2.rs
parent15283f6fe95e5b604273d13a428bab5fc0788f5a (diff)
downloadrust-43057698c12e8ceab1f49eff8a3e5a38cc05f7db.tar.gz
rust-43057698c12e8ceab1f49eff8a3e5a38cc05f7db.zip
Tweak handling of "struct like start" where a struct isn't supported
This improves the case where someone tries to write a `match` expr where the patterns have type ascription syntax. Makes them less verbose, by giving up on the first encounter in the block, and makes them more accurate by only treating them as a struct literal if successfuly parsed as such.
Diffstat (limited to 'tests/ui/array-slice-vec/box-of-array-of-drop-2.rs')
0 files changed, 0 insertions, 0 deletions