]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.


No differences found