about summary refs log tree commit diff
path: root/tests/ui/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2024-01-29 12:56:53 +0000
committerGitHub <noreply@github.com>2024-01-29 12:56:53 +0000
commit549eeb077d482734f623c3769333fed71e1e7fca (patch)
treee9e23c0a1feb6933ad2ffb33450d35f2d40021b9 /tests/ui/structs-enums/tuple-struct-construct.rs
parentd04bede047171967736d6237299e3aee8374b858 (diff)
parent44824e0bcedcbd3e5a43c1cf51c26ee20a585637 (diff)
downloadrust-549eeb077d482734f623c3769333fed71e1e7fca.tar.gz
rust-549eeb077d482734f623c3769333fed71e1e7fca.zip
Rollup merge of #120390 - matthewjasper:inline-constant-pat-mir, r=davidtwco
Borrow check inline const patterns

Add type annotations to MIR so that borrowck can pass constraints from inline constants in patterns to the containing function.
Also enables some inline constant pattern tests that were fixed by the THIR unsafeck stabilization.

cc #76001
Diffstat (limited to 'tests/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions