diff options
| -rw-r--r-- | src/librustc_driver/test.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index ced30fd6408..49405563406 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -141,6 +141,7 @@ fn test_env<F>(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, |
