Macro reproto_trans::try_loop [] [src]

macro_rules! try_loop {
    ($e:expr) => { ... };
}

Helper macro to deal with a unit error in a loop.

This assumes that it's being called in a loop, and will continue on errors. NOTE: it is critical that diag.has_errors() is checked after the loop.