]> git.lizzy.rs Git - rust.git/commit
Auto merge of #41745 - oli-obk:diagnostics, r=jonathandturner
authorbors <bors@rust-lang.org>
Mon, 8 May 2017 12:00:22 +0000 (12:00 +0000)
committerbors <bors@rust-lang.org>
Mon, 8 May 2017 12:00:22 +0000 (12:00 +0000)
commit198917bb4f13daca7225af61d17c6fd4f70487bd
tree4d6b198ad0e356961a8b64603caa847a81b86b68
parent70198a0a44633c7c9d14fce2159c1f750491287b
parentdd87eabd83296baa4c2214d2cf3aeef24f753ba7
Auto merge of #41745 - oli-obk:diagnostics, r=jonathandturner

Remove need for &format!(...) or &&"" dances in `span_label` calls

These were always a thorn in my eye. Note that this will monomorphize to two impls, one for `String` and one for `&str`. But I think that cost is worth the ergonomics at the call sites that can be seen throughout this PR.