Gate literal box expressions in addition to types

Closes #10920
Handle more cases in the heap lints
auto merge of #10932 : alexcrichton/rust/feature-update, r=cmr