pub fn compile_body(
input: impl Into<String>,
callback: impl for<'tcx> FnOnce(TyCtxt<'tcx>, BodyId, &'tcx BodyWithBorrowckFacts<'tcx>) + Send,
)Expand description
Convenience alias for CompileBuilder::new(input).compile(...) if the
callback is going to use CompileResult::as_body.