From d1de6781e83969a03b59d5fffdda59c69ad68d49 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 12 Jun 2018 07:30:29 +0200 Subject: [PATCH] Add missing pub --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cfe79f7602d7..e3fd5b8a068b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,7 +132,7 @@ impl ScalarExt for Scalar { } } -fn create_ecx<'a, 'mir: 'a, 'tcx: 'mir>( +pub fn create_ecx<'a, 'mir: 'a, 'tcx: 'mir>( tcx: TyCtxt<'a, 'tcx, 'tcx>, main_id: DefId, start_wrapper: Option,