about summary refs log tree commit diff
path: root/tests/ui/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-04 15:33:58 +0100
committerGitHub <noreply@github.com>2024-01-04 15:33:58 +0100
commita919d97aaa1598fbd380b992f3404454fb20641b (patch)
treec80bc3848f07b54b0a5148926fcff6397e7118c8 /tests/ui/structs-enums/tuple-struct-construct.rs
parent9fa0c8e1c7a1bf86863cd0936ba50403ba866418 (diff)
parent4bf2794e599c7905d3f83748678be656582ad6c3 (diff)
downloadrust-a919d97aaa1598fbd380b992f3404454fb20641b.tar.gz
rust-a919d97aaa1598fbd380b992f3404454fb20641b.zip
Rollup merge of #119325 - RalfJung:custom-mir, r=compiler-errors
custom mir: make it clear what the return block is

Custom MIR recently got support for specifying the "unwind action", so now there's two things coming after the actual call part of `Call` terminators. That's not very self-explaining so I propose we change the syntax to imitate keyword arguments:
```
Call(popped = Vec::pop(v), ReturnTo(drop), UnwindContinue())
```

Also fix some outdated docs and add some docs to `Call` and `Drop`.
Diffstat (limited to 'tests/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions