1
Fork 0

Deny bare trait objects in in src/librustc_codegen_llvm

This commit is contained in:
ljedrz 2018-07-11 12:49:11 +02:00
parent ae5b629efd
commit ea473502f3
8 changed files with 34 additions and 33 deletions

View file

@ -717,7 +717,7 @@ pub fn iter_globals(llmod: llvm::ModuleRef) -> ValueIter {
}
pub fn codegen_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
rx: mpsc::Receiver<Box<Any + Send>>)
rx: mpsc::Receiver<Box<dyn Any + Send>>)
-> OngoingCodegen {
check_for_rustc_errors_attr(tcx);