Merge pull request #385 from bjorn3/patch-1

Add missing pub
This commit is contained in:
Oliver Schneider 2018-06-12 06:28:20 -07:00 committed by GitHub
commit 9d8945e3e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<DefId>,