about summary refs log tree commit diff
path: root/tests/run-make/incremental-debugger-visualizer/rmake.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-10 05:27:17 +0000
committerbors <bors@rust-lang.org>2024-08-10 05:27:17 +0000
commit19469cb536af8cdd7b0d3f6960e7815b218577c2 (patch)
tree4a593ae5b1f1030b4dc9145f4a2dd781587fba88 /tests/run-make/incremental-debugger-visualizer/rmake.rs
parent69b380dc1c61f2dfc499b90aa97a659203a06c81 (diff)
parent2f4603b7158025119f45d905d665291b67d3e43d (diff)
downloadrust-19469cb536af8cdd7b0d3f6960e7815b218577c2.tar.gz
rust-19469cb536af8cdd7b0d3f6960e7815b218577c2.zip
Auto merge of #128714 - camelid:wf-struct-exprs, r=BoxyUwU
WF-check struct field types at construction site

Fixes #126272.
Fixes #127299.

Rustc of course already WF-checked the field types at the definition
site, but for error tainting of consts to work properly, there needs to
be an error emitted at the use site. Previously, with no use-site error,
we proceeded with CTFE and ran into ICEs since we are running code with
type errors.

Emitting use-site errors also brings struct-like constructors more in
line with fn-like constructors since they already emit use-site errors
for WF issues.

r? `@BoxyUwU`
Diffstat (limited to 'tests/run-make/incremental-debugger-visualizer/rmake.rs')
0 files changed, 0 insertions, 0 deletions