inline format!() args from rustc_codegen_llvm to the end (4)
r? @WaffleLapkin
This commit is contained in:
parent
8327047b23
commit
c64ef5e070
94 changed files with 385 additions and 498 deletions
|
@ -27,7 +27,7 @@ impl<'tcx> MirPass<'tcx> for RemoveUnneededDrops {
|
|||
if ty.ty.needs_drop(tcx, param_env) {
|
||||
continue;
|
||||
}
|
||||
if !tcx.consider_optimizing(|| format!("RemoveUnneededDrops {:?} ", did)) {
|
||||
if !tcx.consider_optimizing(|| format!("RemoveUnneededDrops {did:?} ")) {
|
||||
continue;
|
||||
}
|
||||
debug!("SUCCESS: replacing `drop` with goto({:?})", target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue