mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
46cab11ed1
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |