From afc5acd84ba97e1e767dc489ebcc07c0bfc2c5cb Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 2 May 2017 11:31:10 -0400 Subject: [PATCH] fix librustc_driver --- src/librustc_driver/test.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index ced30fd64085..494055634061 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -141,6 +141,7 @@ fn test_env(source_string: &str, TyCtxt::create_and_enter(&sess, ty::maps::Providers::default(), ty::maps::Providers::default(), + Rc::new(sess.mir_passes.borrow().clone()), &arenas, &arena, resolutions,