Function with_container

Source
pub(crate) fn with_container<R, B: Bridge>(
    f: impl for<'tcx> FnOnce(&mut Tables<'tcx, B>, &SmirCtxt<'tcx, B>) -> R,
) -> R
Expand description

Loads the current context and calls a function with it. Do not nest these, as that will ICE.