about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2024-02-20 07:35:47 +0100
committerGitHub <noreply@github.com>2024-02-20 07:35:47 +0100
commit46cab11ed10d562a31dd21391e45fb626e9f52b2 (patch)
treeec7e5bf363931692724e7090d1bbfb7624c5d70f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent4131f6e73051161b2c4e6035c4aada0d500a66df (diff)
parent864cee3ea383cc8254ba394ba355e648faa9cfa5 (diff)
downloadrust-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