diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-02-20 07:35:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 07:35:47 +0100 |
| commit | 46cab11ed10d562a31dd21391e45fb626e9f52b2 (patch) | |
| tree | ec7e5bf363931692724e7090d1bbfb7624c5d70f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 4131f6e73051161b2c4e6035c4aada0d500a66df (diff) | |
| parent | 864cee3ea383cc8254ba394ba355e648faa9cfa5 (diff) | |
| download | rust-46cab11ed10d562a31dd21391e45fb626e9f52b2.tar.gz rust-46cab11ed10d562a31dd21391e45fb626e9f52b2.zip | |
Rollup merge of #121256 - Jarcho:visitor2, r=oli-obk
Allow AST and HIR visitors to return `ControlFlow` Alternative to #108598. Since rust-lang/libs-team#187 was rejected, this implements our own version of the `Try` trait (`VisitorResult`) and the `try` macro (`try_visit`). Since this change still allows visitors to return `()`, no changes have been made to the existing ones. They can be done in a separate PR.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
