We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30a39ac commit 30733b3Copy full SHA for 30733b3
src/librustc_driver/lib.rs
@@ -227,7 +227,7 @@ pub fn run_compiler<'a>(args: &[String],
227
},
228
};
229
230
- let cstore = Rc::new(CStore::new(DefaultTransCrate::metadata_loader()));
+ let cstore = CStore::new(DefaultTransCrate::metadata_loader());
231
232
let loader = file_loader.unwrap_or(box RealFileLoader);
233
let codemap = Rc::new(CodeMap::with_file_loader(loader, sopts.file_path_mapping()));
@@ -243,7 +243,7 @@ pub fn run_compiler<'a>(args: &[String],
243
244
do_or_return!(callbacks.late_callback(&matches,
245
&sess,
246
- &*cstore,
+ &cstore,
247
&input,
248
&odir,
249
&ofile), Some(sess));
0 commit comments