diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-04 15:33:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-04 15:33:58 +0100 |
| commit | a919d97aaa1598fbd380b992f3404454fb20641b (patch) | |
| tree | c80bc3848f07b54b0a5148926fcff6397e7118c8 /compiler/rustc_span/src | |
| parent | 9fa0c8e1c7a1bf86863cd0936ba50403ba866418 (diff) | |
| parent | 4bf2794e599c7905d3f83748678be656582ad6c3 (diff) | |
| download | rust-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 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 0b44071496e..9af81e06303 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1041,6 +1041,7 @@ symbols! { mir_offset, mir_retag, mir_return, + mir_return_to, mir_set_discriminant, mir_static, mir_static_mut, |
