Skip to content

Commit afc5acd

Browse files
committed
fix librustc_driver
1 parent e6793ac commit afc5acd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_driver/test.rs

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ fn test_env<F>(source_string: &str,
141141
TyCtxt::create_and_enter(&sess,
142142
ty::maps::Providers::default(),
143143
ty::maps::Providers::default(),
144+
Rc::new(sess.mir_passes.borrow().clone()),
144145
&arenas,
145146
&arena,
146147
resolutions,

0 commit comments

Comments
 (0)