Don't have format! move out of local variables
auto merge of #8945 : alexcrichton/rust/ifmt-dont-move, r=thestinger